TypeInfo.GetConstructors 方法

定義

多載

GetConstructors()

C#
public System.Reflection.ConstructorInfo[] GetConstructors();

傳回

適用於

.NET Core 1.1 和其他版本
產品 版本
.NET Core 1.0, Core 1.1
.NET Standard 1.5, 1.6

GetConstructors(BindingFlags)

C#
public virtual System.Reflection.ConstructorInfo[] GetConstructors(System.Reflection.BindingFlags bindingAttr);

參數

bindingAttr
BindingFlags

傳回

適用於

.NET Core 1.1 和其他版本
產品 版本
.NET Core 1.0, Core 1.1
.NET Standard 1.5, 1.6