UserInteractionServices.GetDisplayName 方法 (ModelIdentifier, Boolean, Boolean, Int32)
返回标识符的显示名称。
命名空间: Microsoft.Data.Schema
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Overridable Function GetDisplayName ( _
identifier As ModelIdentifier, _
escape As Boolean, _
fullName As Boolean, _
numberOfPartsToSkip As Integer _
) As String
public virtual string GetDisplayName(
ModelIdentifier identifier,
bool escape,
bool fullName,
int numberOfPartsToSkip
)
public:
virtual String^ GetDisplayName(
ModelIdentifier^ identifier,
bool escape,
bool fullName,
int numberOfPartsToSkip
)
abstract GetDisplayName :
identifier:ModelIdentifier *
escape:bool *
fullName:bool *
numberOfPartsToSkip:int -> string
override GetDisplayName :
identifier:ModelIdentifier *
escape:bool *
fullName:bool *
numberOfPartsToSkip:int -> string
public function GetDisplayName(
identifier : ModelIdentifier,
escape : boolean,
fullName : boolean,
numberOfPartsToSkip : int
) : String
参数
- identifier
类型:Microsoft.Data.Schema.SchemaModel.ModelIdentifier
元素的 ModelIdentifier。
- escape
类型:System.Boolean
true 表示将返回名称转义。
- fullName
类型:System.Boolean
true 表示返回元素全名。
- numberOfPartsToSkip
类型:System.Int32
一个 int,指示从头开始要跳过的名称部分数。
返回值
类型:System.String
指定元素的名称。
备注
该参数指定如何构造显示名称。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。