SamlSecurityTokenHandler.WriteAttributeValue Method
In this article
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the saml:Attribute value.
protected:
virtual void WriteAttributeValue(System::Xml::XmlWriter ^ writer, System::String ^ value, System::IdentityModel::Tokens::SamlAttribute ^ attribute);
protected virtual void WriteAttributeValue(System.Xml.XmlWriter writer, string value, System.IdentityModel.Tokens.SamlAttribute attribute);
abstract member WriteAttributeValue : System.Xml.XmlWriter * string * System.IdentityModel.Tokens.SamlAttribute -> unit
override this.WriteAttributeValue : System.Xml.XmlWriter * string * System.IdentityModel.Tokens.SamlAttribute -> unit
Protected Overridable Sub WriteAttributeValue (writer As XmlWriter, value As String, attribute As SamlAttribute)
- value
- String
A string that contains the attribute value to be written.
- attribute
- SamlAttribute
A SamlAttribute that represents the attribute whose value is being written.
writer
is null
.
By default the method writes the value as a string.
Applies to
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |