DataObjectIdentifierConverter.FormatPart Method
Formats a specified identifier part.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected MustOverride Function FormatPart ( _
typeName As String, _
identifierPart As Object, _
format As DataObjectIdentifierFormat _
) As String
protected abstract string FormatPart(
string typeName,
Object identifierPart,
DataObjectIdentifierFormat format
)
protected:
virtual String^ FormatPart(
String^ typeName,
Object^ identifierPart,
DataObjectIdentifierFormat format
) abstract
abstract FormatPart :
typeName:string *
identifierPart:Object *
format:DataObjectIdentifierFormat -> string
protected abstract function FormatPart(
typeName : String,
identifierPart : Object,
format : DataObjectIdentifierFormat
) : String
Parameters
typeName
Type: System.StringThe name of the data object type.
identifierPart
Type: System.ObjectThe unformatted value of an identifier part.
format
Type: Microsoft.VisualStudio.Data.Services.DataObjectIdentifierFormatA value from the enumeration DataObjectIdentifierFormat indicating the format of the string.
Return Value
Type: System.String
The specified identifier part as a formatted string.
Remarks
Notes to Inheritors
The derived class must implement this method.
.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
DataObjectIdentifierConverter Class