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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา