IVsDataObjectIdentifierConverter.ConvertToString Method (String, array<Object , DataObjectIdentifierFormat)
When implemented by a class, converts a set of identifier parts into a formatted string identifier, based on the specified formatting option.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function ConvertToString ( _
typeName As String, _
identifier As Object(), _
format As DataObjectIdentifierFormat _
) As String
string ConvertToString(
string typeName,
Object[] identifier,
DataObjectIdentifierFormat format
)
String^ ConvertToString(
String^ typeName,
array<Object^>^ identifier,
DataObjectIdentifierFormat format
)
abstract ConvertToString :
typeName:string *
identifier:Object[] *
format:DataObjectIdentifierFormat -> string
function ConvertToString(
typeName : String,
identifier : Object[],
format : DataObjectIdentifierFormat
) : String
Parameters
- typeName
Type: System.String
The name of a data object type.
- identifier
Type: array<System.Object[]
An array containing a set of identifier parts for a specified object.
- format
Type: Microsoft.VisualStudio.Data.Services.DataObjectIdentifierFormat
A value from the enumeration DataObjectIdentifierFormat indicating the format of the string.
Return Value
Type: System.String
A string representation made up from the identifier parts and formatted based on the specified formatting option.
.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.
See Also
Reference
IVsDataObjectIdentifierConverter Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace