Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetValue Method

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


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.

© 2015 Microsoft