_ConstructorInfo.GetParameters _ConstructorInfo.GetParameters _ConstructorInfo.GetParameters _ConstructorInfo.GetParameters Method

定义

为 COM 对象提供对 GetParameters() 方法的版本无关的访问。Provides COM objects with version-independent access to the GetParameters() method.

public:
 cli::array <System::Reflection::ParameterInfo ^> ^ GetParameters();
public System.Reflection.ParameterInfo[] GetParameters ();
abstract member GetParameters : unit -> System.Reflection.ParameterInfo[]
Public Function GetParameters () As ParameterInfo()

返回

ParameterInfo 类型的数组,包含与此实例所反射的方法(或构造函数)的签名相匹配的信息。An array of type ParameterInfo containing information that matches the signature of the method (or constructor) reflected by this instance.

注解

此方法用于访问托管类到从非托管代码,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

GetParameters方法获取指定的方法或构造函数的参数。The GetParameters method gets the parameters of the specified method or constructor.

适用于