Freigeben über


OperationBinding.Input-Eigenschaft

Ruft das InputBinding ab, das dem OperationBinding zugeordnet ist, oder legt dieses fest.

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)

Syntax

'Declaration
Public Property Input As InputBinding
'Usage
Dim instance As OperationBinding
Dim value As InputBinding

value = instance.Input

instance.Input = value
public InputBinding Input { get; set; }
public:
property InputBinding^ Input {
    InputBinding^ get ();
    void set (InputBinding^ value);
}
/** @property */
public InputBinding get_Input ()

/** @property */
public void set_Input (InputBinding value)
public function get Input () : InputBinding

public function set Input (value : InputBinding)

Eigenschaftenwert

Ein InputBinding.

Hinweise

Einem OperationBinding wird genau ein InputBinding zugeordnet.

Beispiel

' 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
// 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.
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.set_Use(SoapBindingUse.Literal);
myInputBinding.get_Extensions().Add(mySoapBodyBinding);
// Add the InputBinding to the OperationBinding.
addOperationBinding.set_Input(myInputBinding);

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

OperationBinding-Klasse
OperationBinding-Member
System.Web.Services.Description-Namespace