共用方式為


HttpRequestMessage.Properties 屬性

定義

警告

Use Options instead.

警告

HttpRequestMessage.Properties has been deprecated. Use Options instead.

取得 HTTP 要求的屬性集。

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ Properties { System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ get(); };
public System.Collections.Generic.IDictionary<string,object> Properties { get; }
[System.Obsolete("Use Options instead.")]
public System.Collections.Generic.IDictionary<string,object?> Properties { get; }
[System.Obsolete("HttpRequestMessage.Properties has been deprecated. Use Options instead.")]
public System.Collections.Generic.IDictionary<string,object?> Properties { get; }
member this.Properties : System.Collections.Generic.IDictionary<string, obj>
[<System.Obsolete("Use Options instead.")>]
member this.Properties : System.Collections.Generic.IDictionary<string, obj>
[<System.Obsolete("HttpRequestMessage.Properties has been deprecated. Use Options instead.")>]
member this.Properties : System.Collections.Generic.IDictionary<string, obj>
Public ReadOnly Property Properties As IDictionary(Of String, Object)

屬性值

傳回 IDictionary<TKey,TValue>

屬性

備註

此屬性會與 Options 屬性共用記憶體。 同時使用這兩者可能會導致非預期的按鍵衝突。

適用於