CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting

Retrieves a MethodInfo object corresponding to a specified method under specified search constraints.

Namespace: ?System.Reflection
Assembly: ?mscorlib (in mscorlib.dll)

Syntax

Visual Basic (Declaration)
Function GetMethod ( _
	name As String, _
	bindingAttr As BindingFlags _
) As MethodInfo
C#
MethodInfo GetMethod(
	string name,
	BindingFlags bindingAttr
)
Visual C++
MethodInfo^ GetMethod(
	String^ name, 
	BindingFlags bindingAttr
)
JavaScript
function getMethod(name, bindingAttr);

Parameters

name
Type: System..::.String
The name of the member to find.
bindingAttr
Type: System.Reflection..::.BindingFlags
The binding attributes used to control the search.

Return Value

A MethodInfo object containing the method information, with the match being based on the method name and search constraints specified in bindingAttr.

Exceptions

ExceptionCondition
System.Reflection..::.AmbiguousMatchExceptionThe object implements multiple methods with the same name.

See Also



Free Download:
  Privacy | Contact Us
All Times Are GMT