Redigera

Dela via


FederationConfigurationElementCollection.GetElement(String) Method

Definition

Retrieves the <federationConfiguration> element that has the specified name.

public:
 System::IdentityModel::Services::Configuration::FederationConfigurationElement ^ GetElement(System::String ^ name);
public System.IdentityModel.Services.Configuration.FederationConfigurationElement GetElement (string name);
member this.GetElement : string -> System.IdentityModel.Services.Configuration.FederationConfigurationElement
Public Function GetElement (name As String) As FederationConfigurationElement

Parameters

name
String

The name of the <federationConfiguration> element to retrieve.

Returns

The <federationConfiguration> element that has the specified name.

Exceptions

name is null.

No element with the specified name was found.

Remarks

The name of a <federationConfiguration> element is specified through its name attribute (FederationConfigurationElement.Name property).

Applies to

See also