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

 

Applies To: Dynamics CRM 2015

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

Return to top

© 2017 Microsoft. All rights reserved. Copyright