VCCodeVariable.IsCodeType Property
Gets a value indicating whether a CodeType object can be obtained from this object.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
'إقرار
ReadOnly Property IsCodeType As Boolean
Get
'الاستخدام
Dim instance As VCCodeVariable
Dim value As Boolean
value = instance.IsCodeType
bool IsCodeType { get; }
property bool IsCodeType {
bool get ();
}
abstract IsCodeType : bool
function get IsCodeType () : boolean
Type: System.Boolean
true if a CodeType object can be obtained; otherwise returns false.
IsCodeType returns whether the code element is a code type. If it is, then you can query interface (QI) or cast it to a CodeType object. This is true when Kind is EnvDTE.vsCMElement.vsCMElementClass, EnvDTE.vsCMElement.vsCMElementInterface, EnvDTE.vsCMElement.vsCMElementDelegate, EnvDTE.vsCMElement.vsCMElementStruct, or EnvDTE.vsCMElement.vsCMElementEnum.
- 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.
Microsoft.VisualStudio.VCCodeModel Namespace
How to: Compile and Run the Automation Object Model Code Examples