Delen via


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)

Syntax

'Declaration
Public Overrides Function GetValue ( _
    component As Object _
) As Object
public override Object GetValue(
    Object component
)
public:
virtual Object^ GetValue(
    Object^ component
) override
abstract GetValue : 
        component:Object -> Object  
override GetValue : 
        component:Object -> Object
public override function GetValue(
    component : Object
) : Object

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.

Remarks

If the ModelElement property of the descriptor is nulla null reference (Nothing in Visual Basic), 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.

.NET Framework Security

See Also

Reference

ElementPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace

ElementPropertyDescriptor

ModelElement

ResetValue

SetValue