CodeProperty2::Parent2 Property

 

Gets the parent of the element.

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

property CodeElement^ Parent2 {
	CodeElement^ get();
}

Property Value

Type: EnvDTE::CodeElement^

Returns the class, interface, or struct containing the element.

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: