共用方式為


Saml2AttributeStatement 建構函式

定義

初始化 Saml2AttributeStatement 類別的新執行個體。

多載

Saml2AttributeStatement()

使用無屬性的方式,初始化 Saml2AttributeStatement 類別的新執行個體。

Saml2AttributeStatement(IEnumerable<Saml2Attribute>)

初始化 Saml2AttributeStatement 類別的新執行個體。

Saml2AttributeStatement(Saml2Attribute)

初始化 Saml2AttributeStatement 類別的新執行個體。

Saml2AttributeStatement()

使用無屬性的方式,初始化 Saml2AttributeStatement 類別的新執行個體。

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

備註

屬性 Attributes 會初始化為空集合。

適用於

Saml2AttributeStatement(IEnumerable<Saml2Attribute>)

初始化 Saml2AttributeStatement 類別的新執行個體。

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))

參數

attributes
IEnumerable<Saml2Attribute>

包含此陳述式內所含屬性項目的 Saml2Attribute 型別集合。

例外狀況

attributesnull

-或-

attributes 指定的其中一個集合項目是 null

備註

屬性 Attributes (集合) 是以指定集合中的屬性初始化。

適用於

Saml2AttributeStatement(Saml2Attribute)

初始化 Saml2AttributeStatement 類別的新執行個體。

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)

參數

attribute
Saml2Attribute

表示這個陳述式中所包含之單一屬性項目的 Saml2Attribute

例外狀況

attributenull

備註

屬性 Attributes (集合) 會使用指定的屬性初始化。

適用於