DataConnectionProperties.ICustomTypeDescriptor.GetPropertyOwner Method

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

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'宣言
Private Function GetPropertyOwner ( _
    pd As PropertyDescriptor _
) As Object Implements ICustomTypeDescriptor.GetPropertyOwner
'使用
Dim instance As DataConnectionProperties
Dim pd As PropertyDescriptor
Dim returnValue As Object

returnValue = CType(instance, ICustomTypeDescriptor).GetPropertyOwner(pd)
Object ICustomTypeDescriptor.GetPropertyOwner(
    PropertyDescriptor pd
)
private:
virtual Object^ GetPropertyOwner(
    PropertyDescriptor^ pd
) sealed = ICustomTypeDescriptor::GetPropertyOwner
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Object

Returns an Object representing the owner of the specified property.

Implements

ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)

Remarks

This method provides an implementation of the GetPropertyOwner method. For more information see the GetPropertyOwner(System.ComponentModel.PropertyDescriptor) method in the .NET Framework class library.

Permissions

See Also

Reference

DataConnectionProperties Class

DataConnectionProperties Members

Microsoft.VisualStudio.Data Namespace