Click or drag to resize

NamespaceFind Method

Find a child Namespace, TypeDecl, or TypeDefinition/Type with the specified name. To find generic types, specify a tick mark and type argument count, such as "System.Tuple`2".

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public Object Find(
	string name,
	bool exactMatch = false
)

Parameters

name
Type: SystemString
The name of the child namespace or type (may contain namespace and/or parent type prefixes).
exactMatch (Optional)
Type: SystemBoolean
True to match the name exactly, otherwise multiple objects might be returned in a NamespaceTypeGroup if generic types exist.

Return Value

Type: Object
The matching TypeDecl, TypeDefinition/Type, Namespace, NamespaceTypeGroup, or null if not found.

Implements

INamespaceFind(String, Boolean)
See Also