Share via


OperationBinding.Input Proprietà

Definizione

Ottiene o imposta l'oggetto InputBinding associato a OperationBinding.

public:
 property System::Web::Services::Description::InputBinding ^ Input { System::Web::Services::Description::InputBinding ^ get(); void set(System::Web::Services::Description::InputBinding ^ value); };
public System.Web.Services.Description.InputBinding Input { get; set; }
member this.Input : System.Web.Services.Description.InputBinding with get, set
Public Property Input As InputBinding

Valore della proprietà

InputBinding

Oggetto InputBinding associato all'oggetto OperationBinding.

Esempio

// Create an InputBinding for the Add operation.
InputBinding^ myInputBinding = gcnew InputBinding;
SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
mySoapBodyBinding->Use = SoapBindingUse::Literal;
myInputBinding->Extensions->Add( mySoapBodyBinding );

// Add the InputBinding to the OperationBinding.
addOperationBinding->Input = myInputBinding;
// Create an InputBinding for the Add operation.
InputBinding myInputBinding = new InputBinding();
SoapBodyBinding mySoapBodyBinding = new SoapBodyBinding();
mySoapBodyBinding.Use = SoapBindingUse.Literal;
myInputBinding.Extensions.Add(mySoapBodyBinding);

// Add the InputBinding to the OperationBinding.
addOperationBinding.Input = myInputBinding;
' Create an InputBinding for the Add operation.
Dim myInputBinding As New InputBinding()
Dim mySoapBodyBinding As New SoapBodyBinding()
mySoapBodyBinding.Use = SoapBindingUse.Literal
myInputBinding.Extensions.Add(mySoapBodyBinding)

' Add the InputBinding to the OperationBinding.
addOperationBinding.Input = myInputBinding

Commenti

Un OperationBinding oggetto verrà associato esattamente a un InputBindingoggetto .

Si applica a