VCDebugSettings.Remote Özellik
Alır veya ayarlar yerel veya uzaktan hata ayıklama.
Ad alanı: Microsoft.VisualStudio.VCProjectEngine
Derleme: Microsoft.VisualStudio.VCProjectEngine (Microsoft.VisualStudio.VCProjectEngine.dll içinde)
Sözdizimi
'Bildirim
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)
Özellik Değeri
Tür: Microsoft.VisualStudio.VCProjectEngine.RemoteDebuggerType
A RemoteDebuggerType numaralandırma.
Notlar
Kullanım RemoteDebuggerType bu özelliğin değerini değiştirmek için numaralandırma.Bkz: Nasıl yapılır: Proje Modeli Genişletilebilirliği için Örnek Kod Derleme derlemek ve bu örneği çalıştırmak hakkında bilgi.
Örnekler
Aşağıdaki örnek kodu değiştirir Remote özelliği, tümleşik geliştirme ortamında (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
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen Güvenilen Koddan Kitaplıkları Kullanma.