Table of Contents

Method GetMethod

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

GetMethod(Type, string)

Searches for the public method with the specified name (搜索具有指定名称的公共方法).

public static MethodInfo? GetMethod(Type atype, string name)

Parameters

atype Type

The type (当前类型).

name string

The string containing the name of the public method to get (包含要获取的公共方法的名称的字符串).

Returns

MethodInfo

An object that represents the public method with the specified name, if found; otherwise, null (表示具有指定名称的公共方法的对象(如果找到的话);否则为 null).