OperationBindingCollection.Item Property
.NET Framework 3.0
Gets or sets the value of an OperationBinding at the specified zero-based index.
Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)
Assembly: System.Web.Services (in system.web.services.dll)
public: property OperationBinding^ default [int] { OperationBinding^ get (int index); void set (int index, OperationBinding^ value); }
/** @property */ public OperationBinding get_Item (int index) /** @property */ public void set_Item (int index, OperationBinding value)
Not applicable.
Parameters
- index
The zero-based index of the OperationBinding whose value is modified or returned.
Property Value
An OperationBinding.The following example demonstrates the use of a zero-based index to retrive a member of the OperationBindingCollection.
// Get the OperationBinding of the Add operation from the collection. OperationBinding^ myOperationBinding = myOperationBindingCollection[ 3 ]; // Remove the OperationBinding of the Add operation from // the collection. myOperationBindingCollection->Remove( myOperationBinding ); Console::WriteLine( "\nRemoved the OperationBinding of the " "Add operation from the collection." );
// Get the OperationBinding of the Add operation from the
// collection.
OperationBinding myOperationBinding = myOperationBindingCollection.
get_Item(3);
// Remove the OperationBinding of the Add operation from
// the collection.
myOperationBindingCollection.Remove(myOperationBinding);
Console.WriteLine("\nRemoved the OperationBinding of the "
+ "Add operation from the collection.");
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: