CodeProperty2::Parent Property

 

Gets the immediate parent object of a CodeProperty object.

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

property CodeClass^ Parent {
	CodeClass^ get();
}

Property Value

Type: EnvDTE::CodeClass^

A CodeClass object.

The Parent property returns the immediate parent to the CodeProperty object. To get the containing collection, use the Collection property.

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: