Modifica

Condividi tramite


OperationDescriptionCollection.Find(String) Method

Definition

Returns an operation description with a specified name from the collection of operation descriptions.

public:
 System::ServiceModel::Description::OperationDescription ^ Find(System::String ^ name);
public System.ServiceModel.Description.OperationDescription Find (string name);
member this.Find : string -> System.ServiceModel.Description.OperationDescription
Public Function Find (name As String) As OperationDescription

Parameters

name
String

The name of the operation.

Returns

An OperationDescription with the name specified.

Remarks

This method returns the first occurrence of the OperationDescription in the collection with the name specified. If you need to find all of the OperationDescription objects in the collection use the FindAll(String) method instead.

Applies to