Partilhar via


IVsDataObjectIdentifierConverter.ConvertToString Method

Definition

Overloads

ConvertToString(String, Object[])

When implemented by a class, converts a set of identifier parts into a formatted string identifier.

ConvertToString(String, Object[], DataObjectIdentifierFormat)

When implemented by a class, converts a set of identifier parts into a formatted string identifier, based on the specified formatting option.

ConvertToString(String, Object[])

When implemented by a class, converts a set of identifier parts into a formatted string identifier.

public:
 System::String ^ ConvertToString(System::String ^ typeName, cli::array <System::Object ^> ^ identifier);
public string ConvertToString (string typeName, object[] identifier);
abstract member ConvertToString : string * obj[] -> string
Public Function ConvertToString (typeName As String, identifier As Object()) As String

Parameters

typeName
String

The name of a data object type.

identifier
Object[]

An array containing a set of identifier parts for a specified object.

Returns

A string representation made up from the identifier parts and formatted based on the default formatting option.

Applies to

ConvertToString(String, Object[], DataObjectIdentifierFormat)

When implemented by a class, converts a set of identifier parts into a formatted string identifier, based on the specified formatting option.

public:
 System::String ^ ConvertToString(System::String ^ typeName, cli::array <System::Object ^> ^ identifier, Microsoft::VisualStudio::Data::Services::DataObjectIdentifierFormat format);
public string ConvertToString (string typeName, object[] identifier, Microsoft.VisualStudio.Data.Services.DataObjectIdentifierFormat format);
abstract member ConvertToString : string * obj[] * Microsoft.VisualStudio.Data.Services.DataObjectIdentifierFormat -> string
Public Function ConvertToString (typeName As String, identifier As Object(), format As DataObjectIdentifierFormat) As String

Parameters

typeName
String

The name of a data object type.

identifier
Object[]

An array containing a set of identifier parts for a specified object.

format
DataObjectIdentifierFormat

A value from the enumeration DataObjectIdentifierFormat indicating the format of the string.

Returns

A string representation made up from the identifier parts and formatted based on the specified formatting option.

Applies to