Compartir a través de


DataObjectIdentifierConverter.SplitIntoParts Method

Divides a string version of an identifier into a set of formatted identifier parts.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Protected Overridable Function SplitIntoParts ( _
    typeName As String, _
    identifier As String _
) As String()
protected virtual string[] SplitIntoParts(
    string typeName,
    string identifier
)
protected:
virtual array<String^>^ SplitIntoParts(
    String^ typeName, 
    String^ identifier
)
abstract SplitIntoParts : 
        typeName:string * 
        identifier:string -> string[] 
override SplitIntoParts : 
        typeName:string * 
        identifier:string -> string[] 
protected function SplitIntoParts(
    typeName : String, 
    identifier : String
) : String[]

Parameters

  • identifier
    Type: System.String

    A partially or fully formatted identifier.

Return Value

Type: array<System.String[]
Returns an array of formatted identifier parts.

Exceptions

Exception Condition
ArgumentNullException

The typeName and/or identifier parameter is null.

Remarks

The string identifier passed in may or may not be formatted correctly; in the latter case, the method should attempt to do its best at parsing it into identifier parts.

.NET Framework Security

See Also

Reference

DataObjectIdentifierConverter Class

Microsoft.VisualStudio.Data Namespace