Bagikan melalui


BaseNodeProperties.GetPropertyOwner Method

Gets the object that contains the specified property descriptor.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Function GetPropertyOwner ( _
    pd As PropertyDescriptor _
) As Object
public Object GetPropertyOwner(
    PropertyDescriptor pd
)
public:
virtual Object^ GetPropertyOwner(
    PropertyDescriptor^ pd
) sealed
abstract GetPropertyOwner : 
        pd:PropertyDescriptor -> Object 
override GetPropertyOwner : 
        pd:PropertyDescriptor -> Object 
public final function GetPropertyOwner(
    pd : PropertyDescriptor
) : Object

Parameters

Return Value

Type: System.Object
The object that contains the specified property descriptor.

Implements

ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)

Remarks

This base implementation always returns this properties object.

.NET Framework Security

See Also

Reference

BaseNodeProperties Class

Microsoft.TeamFoundation.Common Namespace