ManagementNamedValueCollection.Item[String] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從此集合中取得與指定名稱相關的值。 在 C# 中,這個屬性就是類別的 ManagementNamedValueCollection 索引器。
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
參數
- name
- String
要回傳的值名稱。
屬性值
一個與該集合中指定名稱相關聯的物件。
備註
屬性值
包含該集合中指定項目值的物件。
.NET Framework 安全性
完全信任當下的來電者。 此成員無法被部分受信任的程式碼使用。 欲了解更多資訊,請參閱 「部分受信任程式碼的函式庫使用」。