共用方式為


Saml2SecurityTokenHandler.ReadAttributeValue 方法

定義

讀取屬性值。

protected:
 virtual System::String ^ ReadAttributeValue(System::Xml::XmlReader ^ reader, System::IdentityModel::Tokens::Saml2Attribute ^ attribute);
protected virtual string ReadAttributeValue (System.Xml.XmlReader reader, System.IdentityModel.Tokens.Saml2Attribute attribute);
abstract member ReadAttributeValue : System.Xml.XmlReader * System.IdentityModel.Tokens.Saml2Attribute -> string
override this.ReadAttributeValue : System.Xml.XmlReader * System.IdentityModel.Tokens.Saml2Attribute -> string
Protected Overridable Function ReadAttributeValue (reader As XmlReader, attribute As Saml2Attribute) As String

參數

reader
XmlReader

位於要讀取的項目的 XmlReader

attribute
Saml2Attribute

讀取的屬性。

傳回

包含屬性值的字串。

例外狀況

readernull

適用於