ProtocolElementCollection.IndexOf(ProtocolElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the zero-based index of a specified ProtocolElement in the collection.
public:
int IndexOf(System::Web::Services::Configuration::ProtocolElement ^ element);
public int IndexOf (System.Web.Services.Configuration.ProtocolElement element);
member this.IndexOf : System.Web.Services.Configuration.ProtocolElement -> int
Public Function IndexOf (element As ProtocolElement) As Integer
Parameters
- element
- ProtocolElement
The ProtocolElement to find in the collection.
Returns
The zero-based index of the specified ProtocolElement, or -1 if the element was not found in the collection.