Freigeben über


Utility.GetAndRemoveParameter Method (List, String)

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)

Usage

'Usage
Dim parameters As List(Of KeyValuePair(Of String, String))
Dim p As String
Dim returnValue As String

returnValue = Utility.GetAndRemoveParameter(parameters, p)

Syntax

'Declaration
Public Shared Function GetAndRemoveParameter ( _
    parameters As List(Of KeyValuePair(Of String, String)), _
    p As String _
) As String
public static string GetAndRemoveParameter (
    List<KeyValuePair<string,string>> parameters,
    string p
)
public:
static String^ GetAndRemoveParameter (
    List<KeyValuePair<String^, String^>>^ parameters, 
    String^ p
)
public static String GetAndRemoveParameter (
    List<KeyValuePair<String,String>> parameters, 
    String p
)
public static function GetAndRemoveParameter (
    parameters : List<KeyValuePair<String,String>>, 
    p : String
) : String

Parameters

  • parameters
    Specifies the parameter list.
  • p
    Specifies the name of the parameter to retrieve

Return Value

The value from the parameter.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

Utility Class
Utility Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.