編輯

共用方式為


WebPartTransformerCollection.Contains(WebPartTransformer) Method

Definition

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

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

Parameters

transformer
WebPartTransformer

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

Returns

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

Remarks

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

Applies to