ShapeField.GetValue Method
Gets the value in the shape field.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Overridable Function GetValue ( _
parentShape As ShapeElement _
) As Object
public virtual Object GetValue(
ShapeElement parentShape
)
public:
virtual Object^ GetValue(
ShapeElement^ parentShape
)
abstract GetValue :
parentShape:ShapeElement -> Object
override GetValue :
parentShape:ShapeElement -> Object
public function GetValue(
parentShape : ShapeElement
) : Object
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape element to which the shape field is assigned.
Return Value
Type: System.Object
The value in the shape field.
Remarks
This method can return null.
.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.