Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts a formatted string identifier into its equivalent set of identifier parts.
Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Overridable Function ConvertToArray ( _
    typeName As String, _
    identifier As String _
) As Object()
public virtual Object[] ConvertToArray(
    string typeName,
    string identifier
)
public:
virtual array<Object^>^ ConvertToArray(
    String^ typeName, 
    String^ identifier
)
abstract ConvertToArray : 
        typeName:string * 
        identifier:string -> Object[] 
override ConvertToArray : 
        typeName:string * 
        identifier:string -> Object[] 
public function ConvertToArray(
    typeName : String, 
    identifier : String
) : Object[]
Parameters
- typeName
 Type: System.String
 The name of a data object type.
- identifier
 Type: System.String
 A partially or fully formatted identifier.
Return Value
Type: array<System.Object[]
Returns an array containing the separated, unformatted identifier parts as derived from the input identifier.
Exceptions
| Exception | Condition | 
|---|---|
| ArgumentNullException | The typeName 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.
Normally a provider would not override this method directly. The base implementation makes calls into the SplitIntoParts and UnformatPart, methods which carry out smaller parts of the operation.
.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.