WebPartCollection.Contains(WebPart) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.