Skip to main content
A newer version of this page is available.
All docs
V19.1
.NET Framework 4.5.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.v19.1.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