Gets the value of a property for a specific model element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Function GetValue ( _
element As ModelElement _
) As Object
'使用
Dim instance As DomainPropertyInfo
Dim element As ModelElement
Dim returnValue As Object
returnValue = instance.GetValue(element)
public Object GetValue(
ModelElement element
)
public:
Object^ GetValue(
ModelElement^ element
)
public function GetValue(
element : ModelElement
) : Object
Parameters
element
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element to get the property value.
Return Value
Type: System.Object
The value of a property for a specific model element.
Permissions
- 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.