VCDebugSettings.Remote Propriedade

Definição

Obtém ou define a depuração local ou remota.

public:
 property Microsoft::VisualStudio::VCProjectEngine::RemoteDebuggerType Remote { Microsoft::VisualStudio::VCProjectEngine::RemoteDebuggerType get(); void set(Microsoft::VisualStudio::VCProjectEngine::RemoteDebuggerType value); };
public:
 property Microsoft::VisualStudio::VCProjectEngine::RemoteDebuggerType Remote { Microsoft::VisualStudio::VCProjectEngine::RemoteDebuggerType get(); void set(Microsoft::VisualStudio::VCProjectEngine::RemoteDebuggerType value); };
[System.Runtime.InteropServices.DispId(2325)]
public Microsoft.VisualStudio.VCProjectEngine.RemoteDebuggerType Remote { [System.Runtime.InteropServices.DispId(2325)] get; [System.Runtime.InteropServices.DispId(2325)] set; }
[<System.Runtime.InteropServices.DispId(2325)>]
[<get: System.Runtime.InteropServices.DispId(2325)>]
[<set: System.Runtime.InteropServices.DispId(2325)>]
member this.Remote : Microsoft.VisualStudio.VCProjectEngine.RemoteDebuggerType with get, set
Public Property Remote As RemoteDebuggerType

Valor da propriedade

RemoteDebuggerType

Uma enumeração RemoteDebuggerType.

Atributos

Exemplos

O código de exemplo a seguir modifica a Remote propriedade no ambiente de desenvolvimento integrado (IDE):

' 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  

Comentários

Use a RemoteDebuggerType enumeração para alterar o valor dessa propriedade. Consulte como compilar código de exemplo para extensibilidade de modelo de projeto para obter informações sobre como compilar e executar este exemplo.

Aplica-se a