TagList
IndexOfKey Method
|
Gets the zero-based index of the specified key in the collection.
Namespace:
Spire.Presentation.Collections
Assembly:
Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public int IndexOfKey(
string name
)
Public Function IndexOfKey (
name As String
) As Integer
public:
int IndexOfKey(
String^ name
)
member IndexOfKey :
name : string -> int
Parameters
-
name
-
Type:
System
String
The name to locate in the collection.
Return Value
Type:
Int32
The zero-based index of key, if key is found in the collection; otherwise, -1.
See Also