XlsStylesCollection
ContainsSameStyle Method
|
Determines whether the current object contains the same style as the specified style.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
protected IStyle ContainsSameStyle(
IStyle style
)
Protected Function ContainsSameStyle (
style As IStyle
) As IStyle
protected:
IStyle^ ContainsSameStyle(
IStyle^ style
)
member ContainsSameStyle :
style : IStyle -> IStyle
Parameters
-
style
-
Type:
Spire.Xls.Core
IStyle
The style to compare with the current object.
Return Value
Type:
IStyle
The style if it matches the current object's style, otherwise null.
See Also