Idioma

IReadOnlyAnnotatable.Item[String] Propriedade

Definição

Obtém o valor da anotação com o nome fornecido, retornando null se ela não existir.

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

Parâmetros

name
String

O nome da anotação a ser encontrada.

Valor da propriedade

O valor da anotação existente se já existir uma anotação com o nome especificado. Caso contrário, null.

Atributos

Aplica-se a