Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Gets the type of component being registered.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Declaración
Public MustOverride ReadOnly Property ComponentType As Type
Get
'Uso
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;
}
abstract ComponentType : Type
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.
.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.
See Also
Reference
RegistrationAttribute.RegistrationContext Class
RegistrationAttribute.RegistrationContext Members