Redigera

Dela via


IdentityConfigurationElementCollection.GetElement(String) Method

Definition

Retrieves the IdentityConfigurationElement that has the specified name.

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

Parameters

name
String

The name of the identityConfiguration element to retrieve. This corresponds to the value of the element's Name property.

Returns

The <identityConfiguration> element that has the specified name, or null if no matching element is found.

Exceptions

name is null.

The default configuration was specified in the name parameter and a matching IdentityConfigurationElement could not be found.

Applies to