Share via


ConfigurationElementCollection<T>.GetElementOrDefault Method (String, Boolean)

 

Applies To: Dynamics CRM 2013

Retrieves the selected element or falls back to the default.

Namespace:   Microsoft.Xrm.Client.Configuration
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public T GetElementOrDefault(
    string name,
    bool allowDefaultFallback = false
)
public:
T GetElementOrDefault(
    String^ name,
    bool allowDefaultFallback = false
)
member GetElementOrDefault : 
        name:string *
        allowDefaultFallback:bool = false -> 'T
Public Function GetElementOrDefault (
    name As String,
    allowDefaultFallback As Boolean
) As T

Parameters

Return Value

Type: T

Type: Type
The selected element.

See Also

ConfigurationElementCollection<T> Class
Microsoft.Xrm.Client.Configuration Namespace
Developer extensions for Microsoft Dynamics CRM 2013

Return to top