Redigera

Dela via


OperationBinding.Input Property

Definition

Gets or sets the InputBinding associated with the 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

Property Value

An InputBinding associated with the OperationBinding.

Examples

// 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

Remarks

An OperationBinding will be associated with exactly one InputBinding.

Applies to