Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Server.WebServer
- WeOnlyDo.Server.WebHeader
- WeOnlyDo.Server.WebHeaders
- WeOnlyDo.Server.WebRequest
- WeOnlyDo.Server.WebResponse
- WeOnlyDo.Server.WebSessions
- WeOnlyDo.Server.WebSessionVar
- WeOnlyDo.Server.WebSessionVars
- WeOnlyDo.Server.WebUpload
- WeOnlyDo.Server.WebUploads
- WeOnlyDo.Server.WebUser
- WeOnlyDo.Server.WebUsers
- How to get support?
IndexOf method
Returns the index of a specific header in the collection.
Type
Integer. The index of value if found in the list; otherwise -1.Syntax
- C#
- VB.NET
Int32 IndexOf(String name);
The IndexOf(name) syntax has these parts:
Int32 IndexOf(WebHeader Item);
The IndexOf(Item) syntax has these parts:
The IndexOf(name) syntax has these parts:
name | String. Name of header object to locate in the collection. |
Int32 IndexOf(WebHeader Item);
The IndexOf(Item) syntax has these parts:
Item | WeOnlyDo.Server.WebHeader object. Header object to locate in the collection. |
Function IndexOf(ByVal name As String) As Int32
The IndexOf(name) syntax has these parts:
Function IndexOf(ByVal Item As WebHeader) As Int32
The IndexOf(Item) syntax has these parts:
The IndexOf(name) syntax has these parts:
name | String. Name of header object to locate in the collection. |
Function IndexOf(ByVal Item As WebHeader) As Int32
The IndexOf(Item) syntax has these parts:
Item | WeOnlyDo.Server.WebHeader object. Header object to locate in the collection. |