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
typeName
Type: System.StringThe name of a data object type.
identifier
Type: System.StringA 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.