Compartilhar via


Utility.SplitLines Method (String, Context, Session)

Takes data parameters as a flat string and splits the lines into a CCD parameter list.

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

Usage

'Usage
Dim data As String
Dim currentContext As Context
Dim localSession As Session
Dim returnValue As List(Of KeyValuePair(Of String, String))

returnValue = Utility.SplitLines(data, currentContext, localSession)

Syntax

'Declaration
Public Shared Function SplitLines ( _
    data As String, _
    currentContext As Context, _
    localSession As Session _
) As List(Of KeyValuePair(Of String, String))
public static List<KeyValuePair<string,string>> SplitLines (
    string data,
    Context currentContext,
    Session localSession
)
public:
static List<KeyValuePair<String^, String^>>^ SplitLines (
    String^ data, 
    Context^ currentContext, 
    Session^ localSession
)
public static List<KeyValuePair<String,String>> SplitLines (
    String data, 
    Context currentContext, 
    Session localSession
)
public static function SplitLines (
    data : String, 
    currentContext : Context, 
    localSession : Session
) : List<KeyValuePair<String,String>>

Parameters

  • data
    Specifies the flat text string with CCD data parameters.
  • currentContext
    Specifies the current context used to replace data parameters.
  • localSession
    the session used to replace the parameters

Return Value

List of pairs of parameters.

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.