Share via


IFormCollection Arabirim

Tanım

HttpRequest ile gönderilen ayrıştırılmış form değerlerini temsil eder.

public interface class IFormCollection : System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues>>
public interface IFormCollection : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues>>
type IFormCollection = interface
    interface seq<KeyValuePair<string, StringValues>>
    interface IEnumerable
Public Interface IFormCollection
Implements IEnumerable(Of KeyValuePair(Of String, StringValues))
Türetilmiş
Uygulamalar

Özellikler

Count

IFormCollection içindeki öğe sayısını alır.

Files

İstekle gönderilen dosya koleksiyonu.

Item[String]

Değeri belirtilen anahtarla alır.

Keys

anahtarlarını IFormCollectioniçeren bir ICollection<T> alır.

Yöntemler

ContainsKey(String)

öğesinin IFormCollection belirtilen anahtara sahip bir öğe içerip içermediğini belirler.

TryGetValue(String, StringValues)

Belirtilen anahtarla ilişkili değeri alır.

Şunlara uygulanır