ManagementNamedValueCollection.Item[String] Propriedade

Definição

Obtém o valor associado ao nome especificado desta coleção.Gets the value associated with the specified name from this collection. Em C#, essa propriedade é o indexador da classe ManagementNamedValueCollection.In C#, this property is the indexer for the ManagementNamedValueCollection class.

public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ name); };
public object this[string name] { get; }
member this.Item(string) : obj
Default Public ReadOnly Property Item(name As String) As Object

Parâmetros

name
String

O nome do valor a ser retornado.The name of the value to be returned.

Valor da propriedade

Object

Um objeto que está associado ao nome especificado desta coleção.An object that is associated with the specified name from this collection.

Comentários

Valor da propriedadeProperty Value

Um objeto que contém o valor do item especificado nesta coleção.An object containing the value of the specified item in this collection.

Segurança do .NET Framework.NET Framework Security

Confiança total para o chamador imediato.Full trust for the immediate caller. Este membro não pode ser usado pelo código parcialmente confiável.This member cannot be used by partially trusted code. Para obter mais informações, consulte usando bibliotecas de código parcialmente confiável.For more information, see Using Libraries from Partially Trusted Code.

Aplica-se a