Table of Contents

Class GivenName

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

Represents the given name.

public class GivenName
Inheritance
GivenName
Inherited Members

Remarks

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

Constructors

GivenName()

Initializes a new instance of the GivenName class.

public GivenName()

GivenName(XmlElement)

Initializes a new instance of the GivenName class from XML.

public GivenName(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The given name XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

Name

Gets or sets the given name.

public string Name { get; set; }

Property Value

string

The given name.

Methods

IsValid(XmlElement)

Indicates whether the XML is a given name.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is a given name; otherwise false.

ToXml(XmlDocument)

Serializes the given name to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The given name as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.