TextField.GetDisplayText(ShapeElement) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取此字段要显示的文本。
public:
virtual System::String ^ GetDisplayText(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public virtual string GetDisplayText (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
abstract member GetDisplayText : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> string
override this.GetDisplayText : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> string
Public Overridable Function GetDisplayText (parentShape As ShapeElement) As String
参数
- parentShape
- ShapeElement
此字段的父 ShapeElement。
返回
此字段要显示的文本。
注解
重写此方法可在绘制之前自定义文本。