Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Function GetStringFormat ( _
parentShape As ShapeElement _
) As StringFormat
'使用
Dim instance As TextField
Dim parentShape As ShapeElement
Dim returnValue As StringFormat
returnValue = instance.GetStringFormat(parentShape)
public virtual StringFormat GetStringFormat(
ShapeElement parentShape
)
public:
virtual StringFormat^ GetStringFormat(
ShapeElement^ parentShape
)
public function GetStringFormat(
parentShape : ShapeElement
) : StringFormat
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: System.Drawing.StringFormat
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.