Back to Devexpress

ShapeCollection.Contains(String) Method

officefileapi-devexpress-dot-spreadsheet-dot-shapecollection-dot-contains-x28-system-dot-string-x29.md

latest1.5 KB
Original Source

ShapeCollection.Contains(String) Method

Determines whether the collection contains the specified item.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
bool Contains(
    string shapeName
)
vb
Function Contains(
    shapeName As String
) As Boolean

Parameters

NameTypeDescription
shapeNameString

A string that is the drawing object’s name.

|

Returns

TypeDescription
Boolean

true , if the collection contains the specified item; otherwise, false.

|

Remarks

Use the Shape.Name to specify a drawing object’s name.

See Also

Name

ShapeCollection Interface

ShapeCollection Members

DevExpress.Spreadsheet Namespace