DkmInspectionContext.GetClrMemberName(String, DkmClrType, DkmClrCustomTypeInfo, String, Boolean, Boolean) Methode

Definition

Abrufen eines Element Zugriffs Ausdrucks, wenn er als gültige Syntax dargestellt werden kann.

Location-Einschränkung: die API muss von einer Monitor Komponente (Komponentenebene < 100.000) aufgerufen werden.

Diese API wurde in Visual Studio 15 RTM (dkmapiversion. VS15RTM) eingeführt.

public:
 System::String ^ GetClrMemberName(System::String ^ ParentFullName, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ ClrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ CustomTypeInfo, System::String ^ MemberName, bool RequiresExplicitCast, bool IsStatic);
public:
 Platform::String ^ GetClrMemberName(Platform::String ^ ParentFullName, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ ClrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ CustomTypeInfo, Platform::String ^ MemberName, bool RequiresExplicitCast, bool IsStatic);
std::wstring GetClrMemberName(std::wstring const & ParentFullName, Microsoft::VisualStudio::Debugger::Clr::DkmClrType const & ClrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo const & CustomTypeInfo, std::wstring const & MemberName, bool RequiresExplicitCast, bool IsStatic);
public string GetClrMemberName (string ParentFullName, Microsoft.VisualStudio.Debugger.Clr.DkmClrType ClrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo CustomTypeInfo, string MemberName, bool RequiresExplicitCast, bool IsStatic);
member this.GetClrMemberName : string * Microsoft.VisualStudio.Debugger.Clr.DkmClrType * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo * string * bool * bool -> string
Public Function GetClrMemberName (ParentFullName As String, ClrType As DkmClrType, CustomTypeInfo As DkmClrCustomTypeInfo, MemberName As String, RequiresExplicitCast As Boolean, IsStatic As Boolean) As String

Parameter

ParentFullName
String

In Der Ausdruck, in den gepunktet wird.

ClrType
DkmClrType

[In, optional] Der deklarierende Typ. Dies ist erforderlich, wenn entweder "Requirements sexplicitcast" oder "IsStatic" den Wert true hat.

CustomTypeInfo
DkmClrCustomTypeInfo

[In, optional] Die Informationen, die vom Ausdrucks Compiler zur Identifizierung von systeminternen compilertypinformationen (für den deklarierenden Typ) bereitgestellt werden.

MemberName
String

In Der Name des Typmembers.

RequiresExplicitCast
Boolean

In True, wenn der Ausdruck explizit in einen Punkt in den Member konvertiert werden muss.

IsStatic
Boolean

In True, wenn der Member statisch ist.

Gibt zurück

String

[Out, optional] Der Member Access-Ausdruck oder NULL, wenn der Ausdruck nicht als gültige Syntax dargestellt werden kann.

Gilt für