Compartilhar via


Utility.SplitLines Method (String, Context, Sessions)

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 localSessionManager As Sessions
Dim returnValue As List(Of KeyValuePair(Of String, String))

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

Syntax

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

Parameters

  • data
    Specifies flat text string with CCD data parameters.
  • currentContext
    Specifeis the current context used to replace data parameters.
  • localSessionManager
    Local session manager 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.