OperationBindingCollection.Add(OperationBinding) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Adiciona o especificado OperationBinding ao final do 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
Parâmetros
- bindingOperation
- OperationBinding
A OperationBinding acrescentar à coleção.
Devoluções
O índice baseado em zero onde o bindingOperation parâmetro foi adicionado.
Exemplos
O exemplo a seguir demonstra o uso do Add método.
// 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.")