Share via


DataObjectIdentifierConverter.ConvertToString Method (String, array<Object )

Converts a set of identifier parts into a formatted string identifier.

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

Syntax

'Declaration
Public Function ConvertToString ( _
    typeName As String, _
    identifier As Object() _
) As String
public string ConvertToString(
    string typeName,
    Object[] identifier
)
public:
virtual String^ ConvertToString(
    String^ typeName, 
    array<Object^>^ identifier
) sealed
abstract ConvertToString : 
        typeName:string * 
        identifier:Object[] -> string 
override ConvertToString : 
        typeName:string * 
        identifier:Object[] -> string 
public final function ConvertToString(
    typeName : String, 
    identifier : Object[]
) : String

Parameters

  • identifier
    Type: array<System.Object[]
    An array containing a set of identifier parts for a specified object.

Return Value

Type: System.String
A string representation made up from the identifier parts and formatted according to the default formatting option.

Implements

IVsDataObjectIdentifierConverter.ConvertToString(String, array<Object[])

Exceptions

Exception Condition
ArgumentNullException

The typeName parameter is nulla null reference (Nothing in Visual Basic).

Remarks

This method uses the Default value as the formatting option.

The base implementation makes calls into the FormatPart and BuildString methods, which carry out smaller parts of the operation.

.NET Framework Security

See Also

Reference

DataObjectIdentifierConverter Class

ConvertToString Overload

Microsoft.VisualStudio.Data.Framework Namespace