VCDebugSettings.Remote Propriedade
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
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.