StatusBar.StatusBarPanelCollection.Contains(StatusBarPanel) Método
Definição
Determina se o painel especificado está localizado dentro da coleção.Determines whether the specified panel is located within the collection.
public:
bool Contains(System::Windows::Forms::StatusBarPanel ^ panel);
public bool Contains (System.Windows.Forms.StatusBarPanel panel);
member this.Contains : System.Windows.Forms.StatusBarPanel -> bool
Public Function Contains (panel As StatusBarPanel) As Boolean
Parâmetros
- panel
- StatusBarPanel
O StatusBarPanel a ser localizado na coleção.The StatusBarPanel to locate in the collection.
Retornos
true se o painel estiver localizado na coleção; caso contrário, false.true if the panel is located within the collection; otherwise, false.
Comentários
O Contains método permite que você determine se um painel é um membro da coleção.The Contains method enables you to determine whether a panel is a member of the collection. Depois de saber que o item está localizado na coleção, você pode usar o IndexOf método para determinar onde o painel está localizado dentro da coleção.Once you know that the item is located within the collection, you can use the IndexOf method to determine where the panel is located within the collection.