Table of Contents

Method GetMethods

Namespace
Microsoft.Samples.Debugging.CorMetadata
Assembly
corapi.dll

GetMethods(BindingFlags)

When overridden in a derived class, searches for the methods defined for the current Type, using the specified binding constraints.

public override MethodInfo[] GetMethods(BindingFlags bindingAttr)

Parameters

bindingAttr BindingFlags

A bitmask comprised of one or more BindingFlags that specify how the search is conducted.-or- Zero, to return null.

Returns

MethodInfo[]

An array of MethodInfo objects representing all methods defined for the current Type that match the specified binding constraints.-or- An empty array of type MethodInfo, if no methods are defined for the current Type, or if none of the defined methods match the binding constraints.