This documentation is archived and is not being maintained.

OperationBinding.Input Property

Gets or sets the InputBinding associated with the OperationBinding.

[Visual Basic]
Public Property Input As InputBinding
[C#]
public InputBinding Input {get; set;}
[C++]
public: __property InputBinding* get_Input();
public: __property void set_Input(InputBinding*);
[JScript]
public function get Input() : InputBinding;
public function set Input(InputBinding);

Property Value

An InputBinding.

Remarks

An OperationBinding will be associated with exactly one InputBinding.

Example

[Visual Basic] 
' 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

[C#] 
// 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;

[C++] 
// 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;

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

OperationBinding Class | OperationBinding Members | System.Web.Services.Description Namespace

Show: