次の方法で共有


RegistrationAttribute.TypeId Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the current instance of this attribute.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
Public Overrides ReadOnly Property TypeId As Object
'使用
Dim instance As RegistrationAttribute
Dim value As Object

value = instance.TypeId
public override Object TypeId { get; }
public:
virtual property Object^ TypeId {
    Object^ get () override;
}
public override function get TypeId () : Object

Property Value

Type: System.Object

The current instance of this attribute.

Remarks

Override this property to allow RegistrationAttribute-derived classes to work with GetAttributes if it needs better control over the instances that can be applied to a class.

Permissions

See Also

Reference

RegistrationAttribute Class

RegistrationAttribute Members

Microsoft.VisualStudio.Shell Namespace