Find Method
Collapse the table of content
Expand the table of content

OperationDescriptionCollection.Find Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public OperationDescription Find(
	string name
)

Parameters

name
Type: System.String
The name of the operation.

Return Value

Type: System.ServiceModel.Description.OperationDescription
The first occurrence of an OperationDescription with the name specified or null if there is no operation with the name specified.

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft