共用方式為


VCCodeAttribute.DisplayName 屬性

取得屬性的完整名稱。

命名空間:  Microsoft.VisualStudio.VCCodeModel
組件:  Microsoft.VisualStudio.VCCodeModel (在 Microsoft.VisualStudio.VCCodeModel.dll 中)

語法

'宣告
ReadOnly Property DisplayName As String
string DisplayName { get; }
property String^ DisplayName {
    String^ get ();
}
abstract DisplayName : string with get
function get DisplayName () : String

屬性值

類型:String
表示屬性名稱的字串。

備註

在大部分情況下, DisplayName 屬性會傳回與 Name 屬性相同。 不過,在函式宣告項目,函式宣告的整個簽章傳回。

.NET Framework 安全性

請參閱

參考

VCCodeAttribute 介面

Microsoft.VisualStudio.VCCodeModel 命名空間