WebHeaderCollection.Keys 属性

定义

获取集合中的标头名(关键字)的集合。Gets the collection of header names (keys) in the collection.

public:
 virtual property System::Collections::Specialized::NameObjectCollectionBase::KeysCollection ^ Keys { System::Collections::Specialized::NameObjectCollectionBase::KeysCollection ^ get(); };
public override System.Collections.Specialized.NameObjectCollectionBase.KeysCollection Keys { get; }
member this.Keys : System.Collections.Specialized.NameObjectCollectionBase.KeysCollection
Public Overrides ReadOnly Property Keys As NameObjectCollectionBase.KeysCollection

属性值

NameObjectCollectionBase.KeysCollection

包含 Web 请求中所有标头名称的 NameObjectCollectionBase.KeysCollectionA NameObjectCollectionBase.KeysCollection containing all header names in a Web request.

适用于