DataObjectIdentifierConverter.FormatPart 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置指定标识符部分的格式。
protected:
abstract System::String ^ FormatPart(System::String ^ typeName, System::Object ^ identifierPart, Microsoft::VisualStudio::Data::Services::DataObjectIdentifierFormat format);
protected abstract string FormatPart (string typeName, object identifierPart, Microsoft.VisualStudio.Data.Services.DataObjectIdentifierFormat format);
abstract member FormatPart : string * obj * Microsoft.VisualStudio.Data.Services.DataObjectIdentifierFormat -> string
Protected MustOverride Function FormatPart (typeName As String, identifierPart As Object, format As DataObjectIdentifierFormat) As String
参数
- typeName
- String
数据对象类型的名称。
- identifierPart
- Object
标识符部分的未格式化值。
- format
- DataObjectIdentifierFormat
一个来自枚举的值 DataObjectIdentifierFormat ,该值指示字符串的格式。
返回
格式字符串形式的指定标识符部分。