FormCollection 클래스

정의

구문 분석된 HTTP 양식 값을 포함합니다.

public ref class FormCollection : Microsoft::AspNetCore::Http::IFormCollection, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues>>
public class FormCollection : Microsoft.AspNetCore.Http.IFormCollection, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues>>
type FormCollection = class
    interface IFormCollection
    interface seq<KeyValuePair<string, StringValues>>
    interface IEnumerable
Public Class FormCollection
Implements IEnumerable(Of KeyValuePair(Of String, StringValues)), IFormCollection
상속
FormCollection
구현

생성자

FormCollection(Dictionary<String,StringValues>, IFormFileCollection)

FormCollection의 새 인스턴스를 초기화합니다.

필드

Empty

FormCollection입니다.

속성

Count

에 포함된 HeaderDictionary요소의 수를 가져옵니다.

Files

HTTP 양식과 연결된 파일을 가져옵니다.

Item[String]

컬렉션의 연관된 값을 단일 문자열로 가져오거나 설정합니다.

Keys

ICollection<T>의 키를 포함하는 IFormCollection을 가져옵니다.

메서드

ContainsKey(String)

HeaderDictionary에 특정 키가 들어 있는지 여부를 확인합니다.

GetEnumerator()

boxing 없이 컬렉션을 반복하고 인터페이스를 통해 IFormCollection 사용되는 구조체 열거자를 반환합니다.

TryGetValue(String, StringValues)

사전에서 값을 검색합니다.

명시적 인터페이스 구현

IEnumerable.GetEnumerator()

비어 있지 않은 경로의 상자인 컬렉션을 반복하는 열거자를 반환합니다.

IEnumerable<KeyValuePair<String,StringValues>>.GetEnumerator()

비어 있지 않은 경로의 상자인 컬렉션을 반복하는 열거자를 반환합니다.

적용 대상