Compartilhar via


ElementTypeDescriptor.GetDisplayProperties Method

Definition

Overloads

GetDisplayProperties(ModelElement, PropertyDescriptor)

Returns a list of property descriptors corresponding to each domain property

GetDisplayProperties(ModelElement, Store, PropertyDescriptor)

Returns a list of property descriptors corresponding to each domain property

GetDisplayProperties(ModelElement, PropertyDescriptor)

Returns a list of property descriptors corresponding to each domain property

protected:
 System::ComponentModel::PropertyDescriptorCollection ^ GetDisplayProperties(Microsoft::VisualStudio::Modeling::ModelElement ^ requestor, System::ComponentModel::PropertyDescriptor ^ % defaultPropertyDescriptor);
protected System.ComponentModel.PropertyDescriptorCollection GetDisplayProperties (Microsoft.VisualStudio.Modeling.ModelElement requestor, ref System.ComponentModel.PropertyDescriptor defaultPropertyDescriptor);
member this.GetDisplayProperties : Microsoft.VisualStudio.Modeling.ModelElement * PropertyDescriptor -> System.ComponentModel.PropertyDescriptorCollection
Protected Function GetDisplayProperties (requestor As ModelElement, ByRef defaultPropertyDescriptor As PropertyDescriptor) As PropertyDescriptorCollection

Parameters

requestor
ModelElement

ModelElement that is requesting the property value. This value may be null in the case of a type-level TypeDescriptor

defaultPropertyDescriptor
PropertyDescriptor

Returns

A list of property descriptors corresponding to each domain property

Applies to

GetDisplayProperties(ModelElement, Store, PropertyDescriptor)

Returns a list of property descriptors corresponding to each domain property

protected:
 System::ComponentModel::PropertyDescriptorCollection ^ GetDisplayProperties(Microsoft::VisualStudio::Modeling::ModelElement ^ requestor, Microsoft::VisualStudio::Modeling::Store ^ store, System::ComponentModel::PropertyDescriptor ^ % defaultPropertyDescriptor);
protected System.ComponentModel.PropertyDescriptorCollection GetDisplayProperties (Microsoft.VisualStudio.Modeling.ModelElement requestor, Microsoft.VisualStudio.Modeling.Store store, ref System.ComponentModel.PropertyDescriptor defaultPropertyDescriptor);
member this.GetDisplayProperties : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.Store * PropertyDescriptor -> System.ComponentModel.PropertyDescriptorCollection
Protected Function GetDisplayProperties (requestor As ModelElement, store As Store, ByRef defaultPropertyDescriptor As PropertyDescriptor) As PropertyDescriptorCollection

Parameters

requestor
ModelElement

ModelElement that is requesting the property value. This value may be null in the case of a type-level TypeDescriptor

store
Store

The Store to use to get DomainInfo from. In the instance TypeDescriptor case, this is the Store that owns requestor.

defaultPropertyDescriptor
PropertyDescriptor

Returns

A list of property descriptors corresponding to each domain property

Applies to