Table of Contents

Class Surname

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

Represents the surname.

public class Surname
Inheritance
Surname
Inherited Members

Remarks

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

Constructors

Surname()

Initializes a new instance of the Surname class.

public Surname()

Surname(XmlElement)

Initializes a new instance of the Surname class from XML.

public Surname(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The surname XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

Name

Gets or sets the surname.

public string Name { get; set; }

Property Value

string

The surname.

Methods

IsValid(XmlElement)

Indicates whether the XML is a surname.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is a surname; otherwise false.

ToXml(XmlDocument)

Serializes the surname to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The surname as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.