LabelShape.DisplayText Property

Gets the text to display in the label shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public Overridable ReadOnly Property DisplayText As String
'使用
Dim instance As LabelShape
Dim value As String

value = instance.DisplayText
public virtual string DisplayText { get; }
public:
virtual property String^ DisplayText {
    String^ get ();
}
public function get DisplayText () : String

Property Value

Type: System.String

The text to display in the label shape.

Permissions

See Also

Reference

LabelShape Class

LabelShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace