Saml2AttributeStatement Konstruktorer

Definition

Initierar en ny instans av Saml2AttributeStatement klassen.

Överlagringar

Name Description
Saml2AttributeStatement()

Initierar en ny instans av Saml2AttributeStatement klassen utan attribut.

Saml2AttributeStatement(IEnumerable<Saml2Attribute>)

Initierar en ny instans av Saml2AttributeStatement klassen.

Saml2AttributeStatement(Saml2Attribute)

Initierar en ny instans av Saml2AttributeStatement klassen.

Saml2AttributeStatement()

Initierar en ny instans av Saml2AttributeStatement klassen utan attribut.

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

Kommentarer

Egenskapen Attributes initieras till en tom samling.

Gäller för

Saml2AttributeStatement(IEnumerable<Saml2Attribute>)

Initierar en ny instans av Saml2AttributeStatement klassen.

public:
 Saml2AttributeStatement(System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::Saml2Attribute ^> ^ attributes);
public Saml2AttributeStatement(System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.Saml2Attribute> attributes);
new System.IdentityModel.Tokens.Saml2AttributeStatement : seq<System.IdentityModel.Tokens.Saml2Attribute> -> System.IdentityModel.Tokens.Saml2AttributeStatement
Public Sub New (attributes As IEnumerable(Of Saml2Attribute))

Parametrar

attributes
IEnumerable<Saml2Attribute>

En samling av typen Saml2Attribute som innehåller attributelementen i den här instruktionen.

Undantag

attributes är null.

-eller-

Ett av elementen i samlingen som anges av attributes är null.

Kommentarer

Egenskapen Attributes (samlingen) initieras med attributen i den angivna samlingen.

Gäller för

Saml2AttributeStatement(Saml2Attribute)

Initierar en ny instans av Saml2AttributeStatement klassen.

public:
 Saml2AttributeStatement(System::IdentityModel::Tokens::Saml2Attribute ^ attribute);
public Saml2AttributeStatement(System.IdentityModel.Tokens.Saml2Attribute attribute);
new System.IdentityModel.Tokens.Saml2AttributeStatement : System.IdentityModel.Tokens.Saml2Attribute -> System.IdentityModel.Tokens.Saml2AttributeStatement
Public Sub New (attribute As Saml2Attribute)

Parametrar

attribute
Saml2Attribute

En Saml2Attribute som representerar ett enda attributelement som finns i den här instruktionen.

Undantag

attribute är null.

Kommentarer

Egenskapen Attributes (samlingen) initieras med det angivna attributet.

Gäller för