Saml2AttributeStatement 构造函数 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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.Saml2AttributeStatementPublic Sub New (attributes As IEnumerable(Of Saml2Attribute))参数
- attributes
- IEnumerable<Saml2Attribute>
包含此语句包含的 Attribute 元素的类型 Saml2Attribute 的集合。
例外
注解
集合 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.Saml2AttributeStatementPublic Sub New (attribute As Saml2Attribute)参数
- attribute
- Saml2Attribute
Saml2Attribute 表示此语句中包含的单个特性元素。
例外
              attribute 为 null。
注解
集合 Attributes) (属性是使用指定的属性初始化的。