SamlSecurityTokenHandler.ReadAttributeValue(XmlReader, SamlAttribute) 方法

定义

读取特性值。Reads an attribute value.

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

参数

reader
XmlReader

在要读取的元素指定的 XmlReaderAn XmlReader positioned at the element to read.

attribute
SamlAttribute

正被读取的属性。The attribute being read.

返回

String

包含特性值的字符串。A string that contains the attribute value.

例外

readernullreader is null.

适用于