System::Collections::Specialized::NameValueCollection 클래스
내용물
[
숨다
]NameValueCollection class
키 또는 인덱스로 접근할 수 있는 연관된 String 키와 String 값의 컬렉션.
class NameValueCollection : public System::Collections::Generic::ICollection<System::String>
메서드
| 메서드 | 설명 |
|---|---|
| Add(const String&) override | ICollection 메서드 재정의 - 구현되지 않음. |
| Add(const System::SharedPtr<NameValueCollection>&) | 지정된 NameValueCollection의 항목을 현재 컬렉션에 복사합니다. |
| virtual Add(const String&, const String&) | 지정된 이름과 값으로 항목을 추가합니다. |
| Clear() override | 모든 요소를 삭제합니다. |
| Contains(const String&) const override | 컬렉션에 항목이 존재하는지 확인합니다. |
| CopyTo(System::ArrayPtr<String>, int32_t) override | 컬렉션 요소를 기존 배열 요소에 복사합니다. |
| virtual Get(const String&) | 지정된 키와 연관된 값을 가져옵니다. |
| virtual get_AllKeys() | 모든 키를 가져옵니다. |
| get_Count() const override | 키/값 쌍의 수를 가져옵니다. |
| virtual get_Keys() | 모든 키를 가져옵니다. |
| GetEnumerator() override | 컬렉션을 반복하기 위한 열거자를 가져옵니다. |
| virtual GetValues(const String&) | 지정된 키와 연관된 값을 가져옵니다. |
| HasKeys() | null이 아닌 키를 포함하고 있는지 여부를 나타내는 값을 NameValueCollection에서 가져옵니다. |
| idx_get(const String&) | 지정된 인덱스의 값을 가져옵니다. |
| idx_set(const String&, const String&) | 항목의 값을 설정합니다. |
| NameValueCollection() | 비어 있는 NameValueCollection 클래스의 새 인스턴스를 초기화합니다. |
| NameValueCollection(const System::SharedPtr<NameValueCollection>&) | 지정된 NameValueCollection의 항목을 새 NameValueCollection으로 복사합니다. |
| Remove(const String&) override | 특정 항목을 제거합니다. |
| virtual Set(const String&, const String&) | 항목의 값을 설정합니다. |
| virtualizeBeginConstIterator() const override | 현재 컨테이너에 대한 begin const iterator 구현을 가져옵니다. |
| virtualizeBeginIterator() override | 현재 컨테이너에 대한 begin iterator 구현을 가져옵니다. |
| virtualizeEndConstIterator() const override | 현재 컨테이너에 대한 end const iterator 구현을 가져옵니다. |
| virtualizeEndIterator() override | 현재 컨테이너에 대한 end iterator 구현을 가져옵니다. |
또 보기
- Class ICollection
- Namespace System::Collections::Specialized
- Library Aspose.Page for C++