Proprietà VCProjectConfigurationProperties.Remote

Specifica il debug locale o remoto.

Spazio dei nomi:  Microsoft.VisualStudio.VCProject
Assembly:  Microsoft.VisualStudio.VCProject (in Microsoft.VisualStudio.VCProject.dll)

Sintassi

'Dichiarazione
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)

Valore proprietà

Tipo: Microsoft.VisualStudio.VCProject.RemoteDebuggerType
In RemoteDebuggerType enumerazione.

Note

utilizzare RemoteDebuggerType enumerazione per modificare il valore di questa proprietà.

vedere Procedura: compilare codice di esempio per l'Extensibility del modello di progetto per informazioni su come compilare ed eseguire l'esempio.

Esempi

[Visual Basic]

il seguente codice di esempio modifica Remote proprietà nell'ambiente di sviluppo:

' 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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

VCProjectConfigurationProperties Interfaccia

Spazio dei nomi Microsoft.VisualStudio.VCProject