Export (0) Print
Expand All
ID
Top
Expand Minimize

Kind Property [Variant 1] (General Extensibility)

Visual Studio .NET 2003

Returns an enumeration indicating the type of object.

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

Return Value

Returns a vsCMElement value.

Example

Sub KindExample()
   Dim fileCM As FileCodeModel
   fileCM = ActiveDocument.ProjectItem.FileCodeModel
   Dim elts As CodeElements
   elts = fileCM.CodeElements
   Dim elt As CodeElement
   elt = elts.Item(1)
   MsgBox("Code element kind: " & elt.Kind.ToString)
End Sub

See Also

Applies To: CodeAttribute Object | CodeClass Object | CodeDelegate Object | CodeElement Object | CodeEnum Object | CodeFunction Object | CodeInterface Object | CodeNameSpace Object | CodeParameter Object | CodeProperty Object | CodeStruct Object | CodeType Object | CodeVariable Object | VCCodeAttribute Object | VCCodeBase Object | VCCodeClass Object | VCCodeDelegate Object | VCCodeElement Object | VCCodeEnum Object | VCCodeEvent Object | VCCodeFunction Object | VCCodeIDLCoClass Object | VCCodeIDLImport Object | VCCodeIDLImportLib Object | VCCodeIDLLibrary Object | VCCodeImport Object | VCCodeInclude Object | VCCodeInterface Object | VCCodeMacro Object | VCCodeMap Object | VCCodeMapEntry Object | VCCodeNamespace Object | VCCodeParameter Object | VCCodeProperty Object | VCCodeStruct Object | VCCodeTypedef Object | VCCodeUnion Object | VCCodeVariable Object | VCCodeUsing Object | VCFile Object | VCFilter Object | VCProject Object | VCProjectItem Object

Show:
© 2014 Microsoft