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
- baseElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The current element being described
- 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
- 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.