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
'宣言
Protected Overridable Function SplitIntoParts ( _
typeName As String, _
identifier As String _
) As String()
'使用
Dim typeName As String
Dim identifier As String
Dim returnValue As String()
returnValue = Me.SplitIntoParts(typeName, _
identifier)
protected virtual string[] SplitIntoParts(
string typeName,
string identifier
)
protected:
virtual array<String^>^ SplitIntoParts(
String^ typeName,
String^ identifier
)
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: []
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.
Permissions
- 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.
See Also
Reference
DataObjectIdentifierConverter Class