DataObjectIdentifierConverter.BuildString(String, String[], Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
生成标识符的字符串版本。
protected:
virtual System::String ^ BuildString(System::String ^ typeName, cli::array <System::String ^> ^ identifierParts, bool forDisplay);
protected virtual string BuildString (string typeName, string[] identifierParts, bool forDisplay);
abstract member BuildString : string * string[] * bool -> string
override this.BuildString : string * string[] * bool -> string
Protected Overridable Function BuildString (typeName As String, identifierParts As String(), forDisplay As Boolean) As String
参数
- typeName
- String
数据对象类型的名称。
- identifierParts
- String[]
格式化标识符部分的数组。
- forDisplay
- Boolean
指示生成的字符串是否将仅用于显示目的。
返回
返回标识符的字符串版本。
例外
typeName和/或 identifierParts 参数为 null。
identifierParts参数包含无效数据。