Właściwość VCProjectConfigurationProperties.Remote —

Określa lokalnego lub zdalnego debugowania.

Przestrzeń nazw:  Microsoft.VisualStudio.VCProject
Zestaw:  Microsoft.VisualStudio.VCProject (w Microsoft.VisualStudio.VCProject.dll)

Składnia

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

Wartość właściwości

Typ: Microsoft.VisualStudio.VCProject.RemoteDebuggerType
A RemoteDebuggerType wyliczania.

Uwagi

Użyj RemoteDebuggerType wyliczanie, aby zmienić wartość tej właściwości.

Zobacz Porady: kompilowanie przykładowego kodu dla rozszerzalności modelu projektów informacji na temat skompilować i uruchomić tej próbki.

Przykłady

[Programu Visual Basic]

Poniższy przykładowy kod modyfikuje Remote właściwość w środowisku programowania:

' 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

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

VCProjectConfigurationProperties Interfejs

Przestrzeń nazw Microsoft.VisualStudio.VCProject