IReadOnlyTypeBase.DisplayName 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
DisplayName() |
取得這個結構化類型的易記顯示名稱。 |
DisplayName(Boolean) |
取得指定 IReadOnlyTypeBase 之 的易記顯示名稱。 |
DisplayName()
取得這個結構化類型的易記顯示名稱。
[System.Diagnostics.DebuggerStepThrough]
public virtual string DisplayName ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member DisplayName : unit -> string
override this.DisplayName : unit -> string
Public Overridable Function DisplayName () As String
傳回
顯示名稱。
- 屬性
適用於
DisplayName(Boolean)
取得指定 IReadOnlyTypeBase 之 的易記顯示名稱。
[System.Diagnostics.DebuggerStepThrough]
public virtual string DisplayName (bool omitSharedType);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member DisplayName : bool -> string
override this.DisplayName : bool -> string
Public Overridable Function DisplayName (omitSharedType As Boolean) As String
參數
- omitSharedType
- Boolean
值,指出是否應該從傳回的值中省略共用類型實體型別的類型名稱。
傳回
顯示名稱。
- 屬性