Saml2SecurityTokenHandler.CollectAttributeValues 方法

定義

將具有一般宣告型別、宣告實值型別及原始簽發者的屬性收集到有多個值的單一屬性。

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 的集合。 在輸入集合中與其他屬性共用通用宣告型別、宣告或原始簽發者的屬性會在輸出集合中合併成具有多個值的單一屬性。 輸入集合中不與其他屬性共用宣告型別、宣告或原始簽發者的屬性會照舊出現在輸出集合中,沒有變更。

適用於