IReadOnlyAnnotatable.Item[String] 屬性

定義

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

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

參數

name
String

要尋找之註解的名稱。

屬性值

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

適用於