FindAll Method
Collapse the table of content
Expand the table of content

AddressHeaderCollection.FindAll Method

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

Finds all the address headers in the collection with the specified name and namespace.

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

'Declaration
Public Function FindAll ( _
	name As String, _
	ns As String _
) As AddressHeader()

Parameters

name
Type: System.String
The name of the address header to be found.
ns
Type: System.String
The namespace of the address header to be found.

Return Value

Type: System.ServiceModel.Channels.AddressHeader ()
The Array of type AddressHeader that contains all the headers in the collection with the specified name and namespace.

ExceptionCondition
ArgumentNullException

name or ns is Nothing.

The following code snippet illustrates how to call this method.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft