Proprietà TextWindow.Panes

Ottiene l'insieme di riquadri nell'oggetto TextWindow.

Spazio dei nomi:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Sintassi

'Dichiarazione
ReadOnly Property Panes As TextPanes
    Get
TextPanes Panes { get; }
property TextPanes^ Panes {
    TextPanes^ get ();
}
abstract Panes : TextPanes
function get Panes () : TextPanes

Valore proprietà

Tipo: EnvDTE.TextPanes
Insieme TextPanes.

Esempi

Sub PanesExample(ByVal dte As EnvDTE.DTE)
    Dim twin As TextWindow
    Dim panes As TextPanes

    twin = dte.ActiveWindow.Object
    panes = twin.Panes
    MsgBox("The """ & twin.Parent.Caption & """ window contains " & _
    Str(panes.Count) & " pane(s).")
End Sub
public void PanesExample(_DTE dte)
{
    TextWindow twin;
    TextPanes tps;
    twin = (TextWindow)dte.ActiveWindow.Object;
    tps = twin.Panes;
    MessageBox.Show ("The \"" + twin.Parent.Caption + "\" window 
    contains " + tps.Count.ToString () + " pane(s).");
}

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TextWindow Interfaccia

Spazio dei nomi EnvDTE