Export (0) Print
Expand All
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
HRESULT __stdcall get_Kind(
   /* [out, retval] */ BSTR* retVal
string Kind {get;}
[JScript .NET]
public function get Kind() : String

Return Value

Returns a GUID string representing the type of object.


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


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

© 2015 Microsoft