Export (0) Print
Expand All
ID
Top
Expand Minimize

Kind Property [Variant 2] (General Extensibility)

Visual Studio .NET 2003

Returns a GUID String indicating the kind or type of the object.

[Visual Basic .NET]
Public ReadOnly Property Kind() As String
[Visual Basic 6]
Property Get Kind() As String
[C++]
HRESULT __stdcall get_Kind(
   /* [out, retval] */ BSTR* retVal
);
[C#]
string Kind {get;}
[JScript .NET]
public function get Kind() : String

Return Value

Returns a GUID string representing the type of object.

Remarks

Environment extensions must provide uniquely defined type strings. This information should be available in each tool or language's type library or documentation.

Example

Sub KindExample()
   ' Before running this example, open a text document.
   Dim objDoc As Document
   objDoc = DTE.ActiveDocument
   MsgBox("Kind of document: " & objDoc.Kind)
End Sub

See Also

Applies To: Document Object | Project Object | ProjectItem Object | ProjectItems Collection | Projects Collection | Window Object

Show:
© 2015 Microsoft