语言

IMutableAnnotatable.Item[String] 属性

定义

获取或设置具有给定名称的批注的值。

public object this[string name] { get; set; }
[System.Runtime.CompilerServices.Nullable(2)]
public object? this[string name] { get; set; }
public object? this[string name] { get; set; }
member this.Item(string) : obj with get, set
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.Item(string) : obj with get, set
Default Public Property Item(name As String) As Object

参数

name
String

注释的名称。

属性值

如果已存在具有指定名称的批注,则现有批注的值。 否则为 null。

特性

适用于