Class LocalizedNameType
- Namespace
- ComponentSpace.Saml2.Metadata
- Assembly
- ComponentSpace.Saml2.dll
Represents the localized name type.
public class LocalizedNameType
- Inheritance
-
LocalizedNameType
- Derived
- Inherited Members
Remarks
Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
LocalizedNameType()
Initializes a new instance of the LocalizedNameType class.
public LocalizedNameType()
LocalizedNameType(XmlElement)
Initializes a new instance of the LocalizedNameType class from XML.
public LocalizedNameType(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe localized name XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Properties
Language
Gets or sets the language.
public string Language { get; set; }
Property Value
- string
The language.
Name
Gets or sets the name.
public string Name { get; set; }
Property Value
- string
The name.
Methods
ToXml(XmlElement)
Serializes the localized name to XML.
public void ToXml(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe owning XML element.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.