Saml2SecurityTokenHandler.CollectAttributeValues 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将具有通用声明类型、声明值类型和原始颁发者的属性收集到具有多个值的单个属性中。
protected:
virtual System::Collections::Generic::ICollection<System::IdentityModel::Tokens::Saml2Attribute ^> ^ CollectAttributeValues(System::Collections::Generic::ICollection<System::IdentityModel::Tokens::Saml2Attribute ^> ^ attributes);
protected virtual System.Collections.Generic.ICollection<System.IdentityModel.Tokens.Saml2Attribute> CollectAttributeValues(System.Collections.Generic.ICollection<System.IdentityModel.Tokens.Saml2Attribute> attributes);
abstract member CollectAttributeValues : System.Collections.Generic.ICollection<System.IdentityModel.Tokens.Saml2Attribute> -> System.Collections.Generic.ICollection<System.IdentityModel.Tokens.Saml2Attribute>
override this.CollectAttributeValues : System.Collections.Generic.ICollection<System.IdentityModel.Tokens.Saml2Attribute> -> System.Collections.Generic.ICollection<System.IdentityModel.Tokens.Saml2Attribute>
Protected Overridable Function CollectAttributeValues (attributes As ICollection(Of Saml2Attribute)) As ICollection(Of Saml2Attribute)
参数
- attributes
- ICollection<Saml2Attribute>
一个类型 Saml2Attribute 集合,其中包含从声明生成的属性。
返回
包含 Saml2Attribute 从输入集合派生的属性的集合。 与其他属性共享通用声明类型、声明值和原始颁发者的输入集合中的属性合并到输出集合中具有多个值的单个属性中。 不与其他属性共享声明类型、声明值或原始颁发者的输入集合中的属性显示在输出集合中未更改。