Freigeben über


ElementTypeDescriptor.GetExtensionProperties Method

Returns the property descriptors for any extension elements

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
Protected Overridable Function GetExtensionProperties ( _
    baseElement As ModelElement, _
    attributes As Attribute() _
) As IEnumerable(Of PropertyDescriptor)
protected virtual IEnumerable<PropertyDescriptor> GetExtensionProperties(
    ModelElement baseElement,
    Attribute[] attributes
)
protected:
virtual IEnumerable<PropertyDescriptor^>^ GetExtensionProperties(
    ModelElement^ baseElement, 
    array<Attribute^>^ attributes
)
abstract GetExtensionProperties : 
        baseElement:ModelElement * 
        attributes:Attribute[] -> IEnumerable<PropertyDescriptor> 
override GetExtensionProperties : 
        baseElement:ModelElement * 
        attributes:Attribute[] -> IEnumerable<PropertyDescriptor> 
protected function GetExtensionProperties(
    baseElement : ModelElement, 
    attributes : Attribute[]
) : IEnumerable<PropertyDescriptor>

Parameters

  • attributes
    Type: array<System.Attribute[]
    An array of type Attribute that is used as a filter.

Return Value

Type: System.Collections.Generic.IEnumerable<PropertyDescriptor>
A collection containing the properties of all extension elements

.NET Framework Security

See Also

Reference

ElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace