DkmInspectionContext.GetClrMemberName Yöntem

Tanım

Geçerli bir sözdizimi olarak temsil edilebilmesi için bir üye erişim ifadesi alın.

Konum kısıtlaması: API 'nin bir Izleyici bileşeninden çağrılması gerekir (bileşen düzeyi < 100.000).

Bu API, Visual Studio 15 RTM (DkmApiVersion. VS15RTM) sürümünde sunulmuştur.

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

Parametreler

ParentFullName
String

'Ndaki Noktalı olan ifade.

ClrType
DkmClrType

[In, Isteğe bağlı] Bildirim türü. Bu, RequiresExplicitCast veya ıstatic true ise gereklidir.

CustomTypeInfo
DkmClrCustomTypeInfo

[In, Isteğe bağlı] Derleyici iç tür bilgilerini tanımlamak için ifade derleyicisi tarafından belirtilen bilgiler (bildirim türü için).

MemberName
String

'Ndaki Tür üyesinin adı.

RequiresExplicitCast
Boolean

'Ndaki İfadenin, açıkça üyeye bir noktayla dönüştürülmesi gerekiyorsa true.

IsStatic
Boolean

'Ndaki Üye statikse true.

Döndürülenler

String

[Out, Isteğe bağlı] İfade geçerli bir sözdizimi olarak temsil edilenemez üye erişim ifadesi veya null.

Şunlara uygulanır