共用方式為


Type.GetMethod Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Gets a specific method of the current Type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetMethod(String) Searches for the public method with the specified name.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetMethod(String, BindingFlags) Searches for the specified method, using the specified binding constraints.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetMethod(String, array<Type[]) Searches for the specified public method whose parameters match the specified argument types.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetMethod(String, array<Type[], array<ParameterModifier[]) Searches for the specified public method whose parameters match the specified argument types and modifiers.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetMethod(String, BindingFlags, Binder, array<Type[], array<ParameterModifier[]) Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetMethod(String, BindingFlags, Binder, CallingConventions, array<Type[], array<ParameterModifier[]) Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.

Top

See Also

Reference