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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
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: 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.
Implements
ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.