HttpRequestMessage.Properties 属性

定义

获取 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; }
member this.Properties : System.Collections.Generic.IDictionary<string, obj>
Public ReadOnly Property Properties As IDictionary(Of String, Object)

属性值

返回 IDictionary<TKey,TValue>

注解

此属性与 Options 该属性共享存储。 同时使用这两者可能会导致意外的键冲突。

适用于