ElementPropertyDescriptor.GetElementPropertyDescriptor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ElementPropertyDescriptor given a ModelElement and DomainPropertyInfo.
public:
static Microsoft::VisualStudio::Modeling::Design::ElementPropertyDescriptor ^ GetElementPropertyDescriptor(Microsoft::VisualStudio::Modeling::ModelElement ^ element, Microsoft::VisualStudio::Modeling::DomainPropertyInfo ^ propertyInfo);
public static Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor GetElementPropertyDescriptor (Microsoft.VisualStudio.Modeling.ModelElement element, Microsoft.VisualStudio.Modeling.DomainPropertyInfo propertyInfo);
static member GetElementPropertyDescriptor : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainPropertyInfo -> Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor
Public Shared Function GetElementPropertyDescriptor (element As ModelElement, propertyInfo As DomainPropertyInfo) As ElementPropertyDescriptor
Parameters
- element
- ModelElement
The element to find the descriptor for
- propertyInfo
- DomainPropertyInfo
The property to find the descriptor for
Returns
The ElementPropertyDescriptor corresponding to the inputs. Returns null if one is not found.