Table of Contents

Class OrganizationDisplayName

Namespace
ComponentSpace.Saml2.Metadata
Assembly
ComponentSpace.Saml2.dll

Represents an organization display name.

public class OrganizationDisplayName : LocalizedNameType
Inheritance
OrganizationDisplayName
Inherited Members

Remarks

Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.

Constructors

OrganizationDisplayName()

Initializes a new instance of the OrganizationDisplayName class.

public OrganizationDisplayName()

OrganizationDisplayName(XmlElement)

Initializes a new instance of the OrganizationDisplayName class from XML.

public OrganizationDisplayName(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The organization display name XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Methods

IsValid(XmlElement)

Indicates whether the XML is an organization display name.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is an organization display name; otherwise false.

ToXml(XmlDocument)

Serializes the organization display name to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The organization display name as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.