Skybound Rebar

RebarBand.RebarButtonCollection.Contains Method 

Determines whether a specfic RebarButton value exists in this instance.

[Visual Basic]
Public Function Contains( _
   ByVal value As RebarButton _
) As Boolean
[C#]
public bool Contains(
   RebarButton value
);

Parameters

value
The RebarButton value to locate.

Return Value

true if value exists in this instance; otherwise, false.

Remarks

This method enables you to determine whether a RebarButton is member of the collection before attempting to perform operations on the RebarButton. You can use this method to confirm that a RebarButton has been added to or is still a member of the collection.

See Also

RebarBand.RebarButtonCollection Class | Skybound.Rebar Namespace