Condividi tramite


OperationMessageCollection.Input Proprietà

Definizione

Ottiene la prima occorrenza di un oggetto OperationInput all'interno dell'insieme.

public:
 property System::Web::Services::Description::OperationInput ^ Input { System::Web::Services::Description::OperationInput ^ get(); };
public System.Web.Services.Description.OperationInput Input { get; }
member this.Input : System.Web.Services.Description.OperationInput
Public ReadOnly Property Input As OperationInput

Valore della proprietà

OperationInput

Oggetto OperationInput all'interno della raccolta.

Esempio

// Displays the properties of the OperationMessageCollection.
void DisplayFlowInputOutput( OperationMessageCollection^ myOperationMessageCollection, String^ myOperation )
{
   Console::WriteLine( "After {0}:", myOperation );
   Console::WriteLine( "Flow : {0}", myOperationMessageCollection->Flow );
   Console::WriteLine( "The first occurrence of operation Input in the collection {0}", myOperationMessageCollection->Input );
   Console::WriteLine( "The first occurrence of operation Output in the collection {0}", myOperationMessageCollection->Output );
   Console::WriteLine();
}
// Displays the properties of the OperationMessageCollection.
public static void DisplayFlowInputOutput( OperationMessageCollection
   myOperationMessageCollection, string myOperation)
{
   Console.WriteLine("After " + myOperation + ":");
   Console.WriteLine("Flow : " + myOperationMessageCollection.Flow);
   Console.WriteLine("The first occurrence of operation Input " +
      "in the collection " + myOperationMessageCollection.Input);
   Console.WriteLine("The first occurrence of operation Output " +
      "in the collection " + myOperationMessageCollection.Output);
   Console.WriteLine();
}
   ' Displays the properties of the OperationMessageCollection.
   Public Shared Sub DisplayFlowInputOutput(myOperationMessageCollection As  _
      OperationMessageCollection, myOperation As String)

      Console.WriteLine("After " & myOperation.ToString() & ":")
      Console.WriteLine("Flow : " & _
         myOperationMessageCollection.Flow.ToString())
      Console.WriteLine("The first occurrence of operation Input " & _
         "in the collection {0}" , myOperationMessageCollection.Input)
      Console.WriteLine("The first occurrence of operation Output " & _
         "in the collection " &  myOperationMessageCollection.Output.ToString())
      Console.WriteLine()
   End Sub
End Class

Si applica a