Share via


ElementPropertyDescriptor.GetElementPropertyDescriptor Method

Gets the ElementPropertyDescriptor given a ModelElement and DomainPropertyInfo.

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

Syntax

'Declaration
Public Shared Function GetElementPropertyDescriptor ( _
    element As ModelElement, _
    propertyInfo As DomainPropertyInfo _
) As ElementPropertyDescriptor
public static ElementPropertyDescriptor GetElementPropertyDescriptor(
    ModelElement element,
    DomainPropertyInfo propertyInfo
)
public:
static ElementPropertyDescriptor^ GetElementPropertyDescriptor(
    ModelElement^ element, 
    DomainPropertyInfo^ propertyInfo
)
static member GetElementPropertyDescriptor : 
        element:ModelElement * 
        propertyInfo:DomainPropertyInfo -> ElementPropertyDescriptor 
public static function GetElementPropertyDescriptor(
    element : ModelElement, 
    propertyInfo : DomainPropertyInfo
) : ElementPropertyDescriptor

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor
The ElementPropertyDescriptor corresponding to the inputs. Returns null if one is not found.

.NET Framework Security

See Also

Reference

ElementPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace