Breakpoint.Children Özellik

Tanım

Bu kod yapısı içinde yer alan nesnelerin bir koleksiyonunu alır.

public:
 property EnvDTE::Breakpoints ^ Children { EnvDTE::Breakpoints ^ get(); };
[System.Runtime.InteropServices.DispId(203)]
public EnvDTE.Breakpoints Children { [System.Runtime.InteropServices.DispId(203)] get; }
[<System.Runtime.InteropServices.DispId(203)>]
[<get: System.Runtime.InteropServices.DispId(203)>]
member this.Children : EnvDTE.Breakpoints
Public ReadOnly Property Children As Breakpoints

Özellik Değeri

Breakpoints

Bir Breakpoints koleksiyon.

Öznitelikler

Örnekler

Aşağıdaki örnek, özelliğinin nasıl kullanılacağını gösterir Children .

public static void Children(DTE 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("Children Property Test");  
    owp.Activate();  
    EnvDTE.Debugger debugger = (EnvDTE.Debugger)dte.Debugger;  
    owp.OutputString("Number of children: " + debugger.Breakpoints.Item(1).Children.Count.ToString());  
}  
Shared Sub Children(ByRef dte As EnvDTE.DTE)  
    MessageBox.Show("Number of children: " + _  
                    dte.Debugger.Breakpoints.Item(1).Children().Count().ToString())  
End Sub  

Açıklamalar

BreakpointAlt öğesi yoksa, Nothing döndürülür.

Alt öğeler, Tasarım modunda ayarlanan bekleyen bir kesme noktası, uygulamanızın belirli örneğine kesme veya çalıştırma modunda bağlandığında oluşturulur.

Şunlara uygulanır