Dela via


Utility.GetAndRemoveParameter Method (List<KeyValuePair<String, String>>, String)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Takes a parameter list from a prior call to SplitLines and retrieves a specific parameter by name. The parameter is removed from the list so it can only be retrieved once with this call.

Namespace:   Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly:  Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Syntax

public static string GetAndRemoveParameter(
    List<KeyValuePair<string, string>> parameters,
    string p
)
Public Shared Function GetAndRemoveParameter (
    parameters As List(Of KeyValuePair(Of String, String)),
    p As String
) As String

Parameters

  • p
    Type: System.String

    Specifies the name of the parameter to retrieve

Return Value

Type: System.String

The value from the parameter.

See Also

GetAndRemoveParameter Overload
Utility Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright