语言

Annotatable.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。

实现

适用于