Formats a specified identifier part.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Protected MustOverride Function FormatPart ( _
typeName As String, _
identifierPart As Object, _
format As DataObjectIdentifierFormat _
) As String
'使用
Dim typeName As String
Dim identifierPart As Object
Dim format As DataObjectIdentifierFormat
Dim returnValue As String
returnValue = Me.FormatPart(typeName, _
identifierPart, format)
protected abstract string FormatPart(
string typeName,
Object identifierPart,
DataObjectIdentifierFormat format
)
protected:
virtual String^ FormatPart(
String^ typeName,
Object^ identifierPart,
DataObjectIdentifierFormat format
) abstract
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.
Permissions
- 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
DataObjectIdentifierConverter Members