Share via


MoveableDecoratorHostShape.ICustomTypeDescriptor.GetPropertyOwner Method

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

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

Syntax

'Declaration
Private Function GetPropertyOwner ( _
    pd As PropertyDescriptor _
) As Object Implements ICustomTypeDescriptor.GetPropertyOwner
Object ICustomTypeDescriptor.GetPropertyOwner(
    PropertyDescriptor pd
)
private:
virtual Object^ GetPropertyOwner(
    PropertyDescriptor^ pd
) sealed = ICustomTypeDescriptor::GetPropertyOwner
private abstract GetPropertyOwner : 
        pd:PropertyDescriptor -> Object  
private override GetPropertyOwner : 
        pd:PropertyDescriptor -> Object
JScript does not support explicit interface implementations.

Parameters

  • pd
    Type: PropertyDescriptor

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

Return Value

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

Implements

ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)

.NET Framework Security

See Also

Reference

MoveableDecoratorHostShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace