Επεξεργασία

Κοινή χρήση μέσω


WebPartCollection.Contains(WebPart) Method

Definition

Returns a value indicating whether a particular control exists in the collection.

public:
 bool Contains(System::Web::UI::WebControls::WebParts::WebPart ^ value);
public bool Contains (System.Web.UI.WebControls.WebParts.WebPart value);
member this.Contains : System.Web.UI.WebControls.WebParts.WebPart -> bool
Public Function Contains (value As WebPart) As Boolean

Parameters

value
WebPart

A WebPart that is checked to determine whether it is in the collection.

Returns

A Boolean value that indicates whether a particular control is in the collection.

Remarks

The Contains method enables you to check a particular WebPart object and determine whether it is part of a WebPartCollection object.

Applies to

See also