MessageProperties.Item[String] MessageProperties.Item[String] MessageProperties.Item[String] MessageProperties.Item[String] Property

定義

擷取具有指定名稱、識別碼或索引鍵值的屬性。Retrieves a property with the specified name, identifier, or key value.

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

參數

name
String String String String

從集合中取得的屬性名稱。The name of the property to get from the collection.

屬性值

具有指定 name 的屬性,或是如果屬性不存在則為 nullThe property with the specified name, or null if the property does not exist.

實作

適用於