Export (0) Print
Expand All

ElementPropertyDescriptor.GetValue Method

Gets the value of the domain property.

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

public override Object GetValue(
	Object component
)

Parameters

component
Type: System.Object

The model element from which to get the value of the property.

Return Value

Type: System.Object
The value of the domain property.

If the ModelElement property of the descriptor is null, then the component parameter is used as the model element to get the property value from; otherwise, this method gets the value of the property from the model element with which it is associated. This association is formed when the property descriptor is created.

Show:
© 2015 Microsoft