MFCDialogVariableExtender.IDType Özellik

Tanım

İletişim kutusu değişkeninin türünü alır.

public:
 property Microsoft::VisualStudio::VCCodeModel::vsCMMFCDialogVariableIDType IDType { Microsoft::VisualStudio::VCCodeModel::vsCMMFCDialogVariableIDType get(); };
public:
 property Microsoft::VisualStudio::VCCodeModel::vsCMMFCDialogVariableIDType IDType { Microsoft::VisualStudio::VCCodeModel::vsCMMFCDialogVariableIDType get(); };
[System.Runtime.InteropServices.DispId(2)]
public Microsoft.VisualStudio.VCCodeModel.vsCMMFCDialogVariableIDType IDType { [System.Runtime.InteropServices.DispId(2)] get; }
[<System.Runtime.InteropServices.DispId(2)>]
[<get: System.Runtime.InteropServices.DispId(2)>]
member this.IDType : Microsoft.VisualStudio.VCCodeModel.vsCMMFCDialogVariableIDType
Public ReadOnly Property IDType As vsCMMFCDialogVariableIDType

Özellik Değeri

vsCMMFCDialogVariableIDType

vsCMMFCDialogVariableIDTypeİletişim kutusu değişken türünü gösteren bir numaralandırma değeri.

Öznitelikler

Örnekler

Bu örnek, sınıf tarafından uygulanan iletişim kutusunun her bir değişkenini temsil eden denetim KIMLIĞINI görüntüler CAboutDlg .

' Macro code.  
Sub GetControlIDs()  
    Dim vcCM as VCCodeModel  
    Dim vcClass as VCCodeClass  
    Dim mfcVar as VCCodeVariable  
    vcCM = DTE.Solution.Item(1).CodeModel  
    vcClass = vcCM.Classes.Find("CAboutDlg")  
    For Each vcVar in vcCM.Variables  
        MsgBox(vcVar.Extender("MFCDialogVariable").IDType.ToString)  
    Next  
End Sub  

Bu örneği derlemek ve çalıştırmak hakkında bilgi için bkz. nasıl yapılır: Visual C++ Code Model genişletilebilirliği Için örnek kod derleme .

Şunlara uygulanır