System::Net::Http::Headers::HttpHeaderValueCollection< System::String > 클래스

String > class

이것은 String 타입에 대한 HttpHeaderValueCollection 템플릿의 부분 특수화입니다. 이 클래스의 객체는 System::MakeObject() 함수를 사용하여 할당해야 합니다. 스택에 인스턴스를 만들거나 operator new를 사용하면 런타임 오류 및/또는 어설션 오류가 발생합니다. 항상 이 클래스를 System::SmartPtr 포인터로 감싸고 해당 포인터를 함수 인수로 전달하십시오.

class String > : public System::Collections::Generic::ICollection<System::String>,
                 public System::Collections::Generic::ICollection<System::String>

메서드

메서드설명
Add(const String&) override컬렉션에 요소를 추가합니다.
Clear() override컬렉션의 모든 요소를 삭제합니다.
Contains(const String&) const override컬렉션에 요소가 존재하는지 확인합니다.
CopyTo(System::ArrayPtr<String>, int32_t) override
get_Count() const override컬렉션의 요소 개수를 가져옵니다.
get_IsReadOnly()
get_IsSpecialValueSet()
GetEnumerator() override열거자를 가져옵니다.
GetHeaderStringWithoutSpecial()
HttpHeaderValueCollection(String, System::SharedPtr<HttpHeaders>)
HttpHeaderValueCollection(String, System::SharedPtr<HttpHeaders>, Action<System::SharedPtr<HttpHeaderValueCollection<String>>, String>)
HttpHeaderValueCollection(String, System::SharedPtr<HttpHeaders>, String)
HttpHeaderValueCollection(String, System::SharedPtr<HttpHeaders>, String, Action<System::SharedPtr<HttpHeaderValueCollection<String>>, String>)
ParseAdd(String)
Remove(const String&) override컬렉션에서 요소를 삭제합니다.
RemoveSpecialValue()
SetSpecialValue()
SetTemplateWeakPtr(uint32_t) overriden번째 템플릿 인수를 약한 포인터(공유 포인터가 아니라)로 설정합니다. 컨테이너에서 포인터를 약한 모드로 전환할 수 있습니다.
ToString() const overrideC# Object.ToString() 메서드의 유사 구현입니다. 사용자 정의 객체를 문자열로 변환할 수 있게 합니다.
TryParseAdd(String)

또 보기