Gets the value in the shape field.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Function GetValue ( _
parentShape As ShapeElement _
) As Object
'使用
Dim instance As ShapeField
Dim parentShape As ShapeElement
Dim returnValue As Object
returnValue = instance.GetValue(parentShape)
public virtual Object GetValue(
ShapeElement parentShape
)
public:
virtual Object^ GetValue(
ShapeElement^ parentShape
)
public function GetValue(
parentShape : ShapeElement
) : Object
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape element to which the shape field is assigned.
Return Value
Type: System.Object
The value in the shape field.
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.