Język

AddressHeaderCollection Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy AddressHeaderCollection.

Przeciążenia

Nazwa Opis
AddressHeaderCollection()

Inicjuje nowe wystąpienie klasy AddressHeaderCollection.

AddressHeaderCollection(IEnumerable<AddressHeader>)

Inicjuje nowe wystąpienie AddressHeaderCollection klasy z wyliczalnego zestawu nagłówków adresów.

AddressHeaderCollection()

Źródło:
AddressHeaderCollection.cs
Źródło:
AddressHeaderCollection.cs
Źródło:
AddressHeaderCollection.cs

Inicjuje nowe wystąpienie klasy AddressHeaderCollection.

public:
 AddressHeaderCollection();
public AddressHeaderCollection();
Public Sub New ()

Przykłady

Poniższy fragment kodu ilustruje sposób tworzenia wystąpienia AddressHeaderCollection klasy za pomocą konstruktora bez parametrów.

Dotyczy

AddressHeaderCollection(IEnumerable<AddressHeader>)

Źródło:
AddressHeaderCollection.cs
Źródło:
AddressHeaderCollection.cs
Źródło:
AddressHeaderCollection.cs

Inicjuje nowe wystąpienie AddressHeaderCollection klasy z wyliczalnego zestawu nagłówków adresów.

public:
 AddressHeaderCollection(System::Collections::Generic::IEnumerable<System::ServiceModel::Channels::AddressHeader ^> ^ addressHeaders);
public AddressHeaderCollection(System.Collections.Generic.IEnumerable<System.ServiceModel.Channels.AddressHeader> addressHeaders);
new System.ServiceModel.Channels.AddressHeaderCollection : seq<System.ServiceModel.Channels.AddressHeader> -> System.ServiceModel.Channels.AddressHeaderCollection
Public Sub New (addressHeaders As IEnumerable(Of AddressHeader))

Parametry

addressHeaders
IEnumerable<AddressHeader>

IEnumerable<T> Zestaw AddressHeader obiektów używanych do inicjowania kolekcji.

Wyjątki

Jednym z nagłówków adresów w parametrze addressHeaders jest null.

Przykłady

Poniższy fragment kodu ilustruje sposób tworzenia wystąpienia AddressHeaderCollection klasy.

Dotyczy