Aracılığıyla paylaş


VCDebugSettings.Remote Özellik

Alır veya ayarlar yerel veya uzaktan hata ayıklama.

Ad alanı:  Microsoft.VisualStudio.VCProjectEngine
Derleme:  Microsoft.VisualStudio.VCProjectEngine (Microsoft.VisualStudio.VCProjectEngine.dll içinde)

Sözdizimi

'Bildirim
Property Remote As RemoteDebuggerType
RemoteDebuggerType Remote { get; set; }
property RemoteDebuggerType Remote {
    RemoteDebuggerType get ();
    void set (RemoteDebuggerType value);
}
abstract Remote : RemoteDebuggerType with get, set
function get Remote () : RemoteDebuggerType
function set Remote (value : RemoteDebuggerType)

Özellik Değeri

Tür: Microsoft.VisualStudio.VCProjectEngine.RemoteDebuggerType
A RemoteDebuggerType numaralandırma.

Notlar

Use RemoteDebuggerType bu özelliğin değerini değiştirmek için numaralandırma.Bkz: Nasıl yapılır: proje modeli genişletilebilirlik amacıyla örnek kodu derleyin derlemek ve bu örnek çalıştırma hakkında bilgi için.

Örnekler

Aşağıdaki örnek kodu değiştirir Remote tümleşik geliştirme ortamını (IDE) özelliği:

' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
    Sub Test()
        Dim mystring As String
        Dim prj As VCProject
        Dim cfgs, tools As IVCCollection
        Dim cfg As VCConfiguration
        Dim tool As VCDebugSettings
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        tool = cfg.DebugSettings
        tool.Remote = RemoteDebuggerType.DbgRemote
    End Sub
End Module

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

VCDebugSettings Arabirim

Microsoft.VisualStudio.VCProjectEngine Ad Alanı