ElementTypeDescriptor.GetDisplayProperties Method (ModelElement, Store, PropertyDescriptor%)
Returns a list of property descriptors corresponding to each domain property
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
Protected Function GetDisplayProperties ( _
requestor As ModelElement, _
store As Store, _
ByRef defaultPropertyDescriptor As PropertyDescriptor _
) As PropertyDescriptorCollection
protected PropertyDescriptorCollection GetDisplayProperties(
ModelElement requestor,
Store store,
ref PropertyDescriptor defaultPropertyDescriptor
)
protected:
PropertyDescriptorCollection^ GetDisplayProperties(
ModelElement^ requestor,
Store^ store,
PropertyDescriptor^% defaultPropertyDescriptor
)
member GetDisplayProperties :
requestor:ModelElement *
store:Store *
defaultPropertyDescriptor:PropertyDescriptor byref -> PropertyDescriptorCollection
protected function GetDisplayProperties(
requestor : ModelElement,
store : Store,
defaultPropertyDescriptor : PropertyDescriptor
) : PropertyDescriptorCollection
Parameters
- requestor
Type: Microsoft.VisualStudio.Modeling.ModelElement
ModelElement that is requesting the property value. This value may be null in the case of a type-level TypeDescriptor
- store
Type: Microsoft.VisualStudio.Modeling.Store
The Store to use to get DomainInfo from. In the instance TypeDescriptor case, this is the Store that owns requestor.
- defaultPropertyDescriptor
Type: System.ComponentModel.PropertyDescriptor%
Return Value
Type: System.ComponentModel.PropertyDescriptorCollection
A list of property descriptors corresponding to each domain property
.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.