OperationBindingCollection.Add(OperationBinding) 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.
Adds the specified OperationBinding to the end of the OperationBindingCollection.
public:
int Add(System::Web::Services::Description::OperationBinding ^ bindingOperation);
public int Add (System.Web.Services.Description.OperationBinding bindingOperation);
member this.Add : System.Web.Services.Description.OperationBinding -> int
Public Function Add (bindingOperation As OperationBinding) As Integer
Parameters
- bindingOperation
- OperationBinding
The OperationBinding to add to the collection.
Returns
The zero-based index where the bindingOperation
parameter has been added.
Examples
The following example demonstrates the use of the Add
method.
// Add the Add OperationBinding to the collection.
myOperationBindingCollection->Add( addOperationBinding );
Console::WriteLine( "\nAdded the OperationBinding of the Add"
" operation to the collection." );
// Add the Add OperationBinding to the collection.
myOperationBindingCollection.Add(addOperationBinding);
Console.WriteLine("\nAdded the OperationBinding of the Add" +
" operation to the collection.");
' Add the Add OperationBinding to the collection.
myOperationBindingCollection.Add(addOperationBinding)
Console.WriteLine(ControlChars.NewLine & _
"Added the OperationBinding of the Add " & _
"operation to the collection.")
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.