다음을 통해 공유


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

매개 변수

  • escape
    형식: System.Boolean
    반환된 이름을 이스케이프하려면 true입니다.
  • fullName
    형식: System.Boolean
    전체 요소 이름을 반환하려면 true입니다.
  • numberOfPartsToSkip
    형식: System.Int32
    이름에서 맨 앞부터 건너뛸 부분의 수를 나타내는 int입니다.

반환 값

형식: System.String
지정된 요소의 이름입니다.

설명

매개 변수는 표시 이름을 생성하는 방법을 지정합니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

UserInteractionServices 클래스

GetDisplayName 오버로드

Microsoft.Data.Schema 네임스페이스

ModelIdentifier