次の方法で共有


RegistrationAttribute.RegistrationContext.ComponentType Property

Gets the type of component being registered.

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

Syntax

'宣言
Public MustOverride ReadOnly Property ComponentType As Type
'使用
Dim instance As RegistrationAttribute..::.RegistrationContext
Dim value As Type

value = instance.ComponentType
public abstract Type ComponentType { get; }
public:
virtual property Type^ ComponentType {
    Type^ get () abstract;
}
public abstract function get ComponentType () : Type

Property Value

Type: System.Type

The type of component being registered.

Remarks

For attributes attached to VSPackages, ComponentType returns the package type.

Permissions

See Also

Reference

RegistrationAttribute.RegistrationContext Class

RegistrationAttribute.RegistrationContext Members

Microsoft.VisualStudio.Shell Namespace

RegistrationAttribute.RegistrationContext