ElementPropertyDescriptor.GetValue Method
Gets the value of the domain property.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
‘선언
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ElementPropertyDescriptor Class