共用方式為


HeaderDictionary.IDictionary<String,StringValues>.Item[String] 屬性

定義

如果索引鍵不存在,則會擲回 KeyNotFoundException。

property Microsoft::Extensions::Primitives::StringValues System::Collections::Generic::IDictionary<System::String,Microsoft::Extensions::Primitives::StringValues>::Item[System::String ^] { Microsoft::Extensions::Primitives::StringValues get(System::String ^ key); void set(System::String ^ key, Microsoft::Extensions::Primitives::StringValues value); };
Microsoft.Extensions.Primitives.StringValues System.Collections.Generic.IDictionary<System.String,Microsoft.Extensions.Primitives.StringValues>.Item[string key] { get; set; }
member this.System.Collections.Generic.IDictionary<System.String,Microsoft.Extensions.Primitives.StringValues>.Item(string) : Microsoft.Extensions.Primitives.StringValues with get, set
 Property Item(key As String) As StringValues Implements IDictionary(Of String, StringValues).Item

參數

key
String

標頭名稱。

屬性值

實作

適用於