Share via


IAnnotatable.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

适用于