Partager via


ProvideObjectAttribute.ObjectType Property

The ObjectType property returns the object type set in the constructor.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Déclaration
Public ReadOnly Property ObjectType As Type
    Get
'Utilisation
Dim instance As ProvideObjectAttribute
Dim value As Type

value = instance.ObjectType
public Type ObjectType { get; }
public:
property Type^ ObjectType {
    Type^ get ();
}
member ObjectType : Type
function get ObjectType () : Type

Property Value

Type: System.Type
Returns the object type set in the constructor.

.NET Framework Security

See Also

Reference

ProvideObjectAttribute Class

ProvideObjectAttribute Members

Microsoft.VisualStudio.Shell Namespace