IdentityConfigurationElementCollection.GetElement(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om