Skip to main content
A newer version of this page is available.
All docs
V18.2
Row

CustomXmlPartCollection.Contains(String) Method

Checks whether there is an item in the collection whose XML content equals the specified XML string.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v18.2.Core.dll

Declaration

bool Contains(
    string content
)

Parameters

Name Type Description
content String

A string that is the content to check.

Returns

Type Description
Boolean

true, if the content of any custom XML part equals the specified XML string; otherwise, false.

Remarks

To perform a comparison, the specified string is loaded into the newly created ICustomXmlPart object. Subsequently, this object is compared with the specified custom XML part.

See Also