Breakpoint2.FunctionColumnOffset Özellik
Sütun uzaklık işlevi kesme noktası adından alır.
Ad alanı: EnvDTE80
Derleme: EnvDTE80 (EnvDTE80.dll içinde)
Sözdizimi
'Bildirim
ReadOnly Property FunctionColumnOffset As Integer
Get
int FunctionColumnOffset { get; }
property int FunctionColumnOffset {
int get ();
}
abstract FunctionColumnOffset : int
function get FunctionColumnOffset () : int
Özellik Değeri
Tür: System.Int32
Bir işlev kesme noktası adı sütun uzaklığı içeren bir tamsayı.
Yüklenen
Breakpoint.FunctionColumnOffset
Açıklamalar
Bakın Dosya, yeni kesme daha fazla bilgi için iletişim kutusu.
Örnekler
Aşağıdaki örnek, nasıl kullanılacağını gösterir FunctionColumnOffset özelliği.
Bu özellik test etmek için:
Bir kesme noktası hedef uygulamada ayarlayın.
Eklentiyi çalıştırın.
public static void FunctionColumnOffset(EnvDTE80.DTE2 dte)
{
// Setup debug Output window.
Window w = (Window)dte.Windows.Item(EnvDTE.Constants.vsWindowKindOutput);
w.Visible = true;
OutputWindow ow = (OutputWindow)w.Object;
OutputWindowPane owp = ow.OutputWindowPanes.Add("FunctionColumnOffset property: ");
owp.Activate();
// dte is a reference to the DTE2 object passed to you by the
// OnConnection method that you implement when you create an Add-in.
EnvDTE80.Debugger2 debugger = (EnvDTE80.Debugger2)dte.Debugger;
owp.OutputString("\n FunctionColumnOffset: " +
debugger.Breakpoints.Item(1).FunctionColumnOffset.ToString());
owp.OutputString("\n FunctionLineOffset: " +
debugger.Breakpoints.Item(1).FunctionLineOffset.ToString());
}
.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üvenilir kod tarafından Kitaplıklar kullanma.
Ayrıca bkz.
Başvuru
FunctionColumnOffset Fazla Yük
Diğer Kaynaklar
Nasıl Yapılır: derlemek ve otomasyon nesne modeli kod örnekleri çalıştırma