CodeEvent::IsCodeType Property

 

Gets whether the CodeEvent is a CodeType.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

property bool IsCodeType {
	bool get();
}

Property Value

Type: System::Boolean

A boolean value that is true if a CodeType can be obtained; otherwise, false.

If this is true, then you can query interface (QI) or cast it to a CodeType.

System_CAPS_noteNote

The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same.

Return to top
Show: