MoveableDecoratorHostShape::ICustomTypeDescriptor::GetPropertyOwner Method (PropertyDescriptor^)

 

Returns an object that contains the property described by the specified property descriptor.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

private:
virtual Object^ GetPropertyOwner(
	PropertyDescriptor^ pd
) sealed = ICustomTypeDescriptor::GetPropertyOwner

Parameters

pd
Type: System.ComponentModel::PropertyDescriptor^

A System.ComponentModel.PropertyDescriptor that represents the property whose owner is to be found.

Return Value

Type: System::Object^

Owner object of the given property descriptor, which will be the parent shape.

Return to top
Show: