共用方式為


AnnotatableBase.Item[String] 屬性

定義

取得具有指定名稱的值批註,如果不存在,則 null 傳回 。

public virtual object? this[string name] { get; set; }
member this.Item(string) : obj with get, set
Default Public Overridable Property Item(name As String) As Object

參數

name
String

要尋找之批註的索引鍵。

屬性值

如果具有指定名稱的注釋已經存在,則為現有注釋的值。 否則為 null

適用於