Show / Hide Table of Contents

Class LocalizedNameType

Represents the localized name type.

Inheritance
System.Object
LocalizedNameType
OrganizationDisplayName
OrganizationName
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 LocalizedNameType
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.

Declaration
public LocalizedNameType()

LocalizedNameType(String, String)

Initializes a new instance of the LocalizedNameType class.

Declaration
public LocalizedNameType(string name, string language)
Parameters
Type Name Description
System.String name

The name.

System.String language

The language.

LocalizedNameType(XmlElement)

Initializes a new instance of the LocalizedNameType class from XML.

Declaration
public LocalizedNameType(XmlElement xmlElement)
Parameters
Type Name Description
System.Xml.XmlElement xmlElement

The localized name 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.

Name

Gets or sets the name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.

Methods

ToXml(XmlElement)

Serializes the localized name 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.

In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2022. All rights reserved.