LocalizableProperties.GetPropertyOwner Method
Returns the brows-able object.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣告
Public Function GetPropertyOwner ( _
pd As PropertyDescriptor _
) As Object
'用途
Dim instance As LocalizableProperties
Dim pd As PropertyDescriptor
Dim returnValue As Object
returnValue = instance.GetPropertyOwner(pd)
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
- pd
Type: System.ComponentModel.PropertyDescriptor
PropertyDescriptor object.
Return Value
Type: System.Object
Returns the browsable object.
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.