共用方式為


RuntimeAnnotatableBase.Item[String] Property

Definition

Gets the value annotation with the given name, returning null if it does not exist.

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

Parameters

name
String

The key of the annotation to find.

Property Value

The value of the existing annotation if an annotation with the specified name already exists. Otherwise, null.

Applies to