Udostępnij za pośrednictwem


IDkmClrFullNameProvider.GetClrMemberName Method

Definition

Get a member access expression, if it can be represented as valid syntax.

public:
 System::String ^ GetClrMemberName(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, 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(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, 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(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext const & inspectionContext, 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 (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, string parentFullName, Microsoft.VisualStudio.Debugger.Clr.DkmClrType clrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo customTypeInfo, string memberName, bool requiresExplicitCast, bool isStatic);
public string? GetClrMemberName (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, string parentFullName, Microsoft.VisualStudio.Debugger.Clr.DkmClrType? clrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo? customTypeInfo, string memberName, bool requiresExplicitCast, bool isStatic);
abstract member GetClrMemberName : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * string * Microsoft.VisualStudio.Debugger.Clr.DkmClrType * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo * string * bool * bool -> string
Public Function GetClrMemberName (inspectionContext As DkmInspectionContext, parentFullName As String, clrType As DkmClrType, customTypeInfo As DkmClrCustomTypeInfo, memberName As String, requiresExplicitCast As Boolean, isStatic As Boolean) As String

Parameters

inspectionContext
DkmInspectionContext

[In] Options and target context to use while performing the inspection operation.

parentFullName
String

[In] The expression being dotted into.

clrType
DkmClrType

[In,Optional] The declaring type. This is required if either RequiresExplicitCast or IsStatic is true.

customTypeInfo
DkmClrCustomTypeInfo

[In,Optional] The information provided by the expression compiler for identifying compiler intrinsic type information (for the declaring type).

memberName
String

[In] The name of the type member.

requiresExplicitCast
Boolean

[In] True if the expression must be explicitly cast to dot into the member.

isStatic
Boolean

[In] True if the member is static.

Returns

[Out,Optional] The member access expression or null if the expression cannot be represented as valid syntax.

Applies to