定义在向用户显示格式定义时所用的字符串。 此特性,只有当 UserVisibleAttribute 设置为此对象的导出,的 true 使用。
命名空间: Microsoft.VisualStudio.Text.Classification
程序集: Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
语法
声明
Public Property DisplayName As String
public string DisplayName { get; protected set; }
public:
property String^ DisplayName {
String^ get ();
protected: void set (String^ value);
}
member DisplayName : string with get, set
function get DisplayName () : String
protected function set DisplayName (value : String)
属性值
类型:String
显示字符串。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。