Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Protected Function GetDisplayProperties ( _
requestor As ModelElement, _
ByRef defaultPropertyDescriptor As PropertyDescriptor _
) As PropertyDescriptorCollection
'使用
Dim requestor As ModelElement
Dim defaultPropertyDescriptor As PropertyDescriptor
Dim returnValue As PropertyDescriptorCollection
returnValue = Me.GetDisplayProperties(requestor, _
defaultPropertyDescriptor)
protected PropertyDescriptorCollection GetDisplayProperties(
ModelElement requestor,
ref PropertyDescriptor defaultPropertyDescriptor
)
protected:
PropertyDescriptorCollection^ GetDisplayProperties(
ModelElement^ requestor,
PropertyDescriptor^% defaultPropertyDescriptor
)
protected function GetDisplayProperties(
requestor : ModelElement,
defaultPropertyDescriptor : PropertyDescriptor
) : PropertyDescriptorCollection
Parameters
- requestor
Type: Microsoft.VisualStudio.Modeling.ModelElement
- defaultPropertyDescriptor
Type: System.ComponentModel.PropertyDescriptor%
Return Value
Type: System.ComponentModel.PropertyDescriptorCollection
Permissions
- 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.