DeclaredTypeElementCollection.Contains Method (String)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns a value that specifies whether the element is in the collection.

Namespace:   System.Runtime.Serialization.Configuration
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public bool Contains(
	string typeName
)

Parameters

typeName
Type: System.String

The name of the type to check for.

Return Value

Type: System.Boolean

true if the element is in the collection; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: