BindingCollection.Item Property (Int32)
.NET Framework (current version)
Gets or sets the value of a Binding at the specified zero-based index.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- index
-
Type:
System.Int32
The zero-based index of the Binding whose value is modified or returned.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException |
Dim i As Integer While i < myServiceDescription.Bindings.Count Console.WriteLine((ControlChars.Cr + "Binding " + i.ToString())) ' Get Binding at index i. myBinding = myServiceDescription.Bindings(i) Console.WriteLine((ControlChars.Tab + " Name : " + myBinding.Name)) Console.WriteLine((ControlChars.Tab + " Type : " + myBinding.Type.ToString())) i = i + 1 End While
.NET Framework
Available since 1.1
Available since 1.1
Show: