Class LocalizedURIType
Represents the localized URI type.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Metadata
Assembly: ComponentSpace.Saml2.dll
Syntax
public class LocalizedURIType
Remarks
Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
LocalizedURIType()
Initializes a new instance of the LocalizedURIType
class.
Declaration
public LocalizedURIType()
LocalizedURIType(String, String)
Initializes a new instance of the LocalizedURIType
class.
Declaration
public LocalizedURIType(string uri, string language)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | The URI. |
System.String | language | The language. |
LocalizedURIType(XmlElement)
Initializes a new instance of the LocalizedURIType
class from XML.
Declaration
public LocalizedURIType(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | The localized URI XML. |
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML deserialization fails. |
Properties
Language
Gets or sets the language.
Declaration
public string Language { get; set; }
Property Value
Type | Description |
---|---|
System.String | The language. |
URI
Gets or sets the URI.
Declaration
public string URI { get; set; }
Property Value
Type | Description |
---|---|
System.String | The URI. |
Methods
ToXml(XmlElement)
Serializes the localized URI to XML.
Declaration
public void ToXml(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | The owning XML element. |
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML serialization fails. |