Method GetNestedType
- Namespace
- Microsoft.Samples.Debugging.CorMetadata
- Assembly
- corapi.dll
GetNestedType(string, BindingFlags)
When overridden in a derived class, searches for the specified nested type, using the specified binding constraints.
public override Type GetNestedType(string name, BindingFlags bindingAttr)
Parameters
name
stringThe string containing the name of the nested type to get.
bindingAttr
BindingFlagsA bitmask comprised of one or more BindingFlags that specify how the search is conducted.-or- Zero, to return null.
Returns
- Type
An object representing the nested type that matches the specified requirements, if found; otherwise, null.
Exceptions
- ArgumentNullException
name
is null.