VCProjectConfigurationProperties.Remote, propriété

Spécifie un débogage local ou distant.

Espace de noms :  Microsoft.VisualStudio.VCProject
Assembly :  Microsoft.VisualStudio.VCProject (dans Microsoft.VisualStudio.VCProject.dll)

Syntaxe

'Déclaration
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)

Valeur de propriété

Type : Microsoft.VisualStudio.VCProject.RemoteDebuggerType
Énumération RemoteDebuggerType.

Notes

Utilisez l'énumération d'RemoteDebuggerType pour modifier la valeur de cette propriété.

Consultez Comment : compiler l'exemple de code pour l'extensibilité du modèle de projet pour plus d'informations sur la compilation et l'exécution de cet exemple.

Exemples

[Visual Basic]

Code d'exemple suivant modifie la propriété d'Remote dans l'environnement de développement :

' 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

Sécurité .NET Framework

Voir aussi

Référence

VCProjectConfigurationProperties Interface

Microsoft.VisualStudio.VCProject, espace de noms