다음을 통해 공유


ElementTypeDescriptor.GetExtensionProperties Method

Definition

Returns the property descriptors for any extension elements

protected:
 virtual System::Collections::Generic::IEnumerable<System::ComponentModel::PropertyDescriptor ^> ^ GetExtensionProperties(Microsoft::VisualStudio::Modeling::ModelElement ^ baseElement, cli::array <Attribute ^> ^ attributes);
protected virtual System.Collections.Generic.IEnumerable<System.ComponentModel.PropertyDescriptor> GetExtensionProperties (Microsoft.VisualStudio.Modeling.ModelElement baseElement, Attribute[] attributes);
abstract member GetExtensionProperties : Microsoft.VisualStudio.Modeling.ModelElement * Attribute[] -> seq<System.ComponentModel.PropertyDescriptor>
override this.GetExtensionProperties : Microsoft.VisualStudio.Modeling.ModelElement * Attribute[] -> seq<System.ComponentModel.PropertyDescriptor>
Protected Overridable Function GetExtensionProperties (baseElement As ModelElement, attributes As Attribute()) As IEnumerable(Of PropertyDescriptor)

Parameters

baseElement
ModelElement

The current element being described

attributes
Attribute[]

An array of type Attribute that is used as a filter.

Returns

A collection containing the properties of all extension elements

Applies to