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
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)
Syntax
'宣言
Public Overrides ReadOnly Property TypeId As Object
Get
'使用
Dim instance As RegistrationAttribute
Dim value As Object
value = instance.TypeId
public override Object TypeId { get; }
public:
virtual property Object^ TypeId {
Object^ get () override;
}
abstract TypeId : Object
override TypeId : Object
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.