Table of Contents

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 string

The string containing the name of the nested type to get.

bindingAttr BindingFlags

A 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.