TypeBuilder.DefineDefaultConstructorCore(MethodAttributes) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在衍生類別中覆寫時,定義無參數建構函式。 這裡定義的建構函式會呼叫父系的無參數建構函式。
protected:
abstract System::Reflection::Emit::ConstructorBuilder ^ DefineDefaultConstructorCore(System::Reflection::MethodAttributes attributes);
protected abstract System.Reflection.Emit.ConstructorBuilder DefineDefaultConstructorCore (System.Reflection.MethodAttributes attributes);
abstract member DefineDefaultConstructorCore : System.Reflection.MethodAttributes -> System.Reflection.Emit.ConstructorBuilder
Protected MustOverride Function DefineDefaultConstructorCore (attributes As MethodAttributes) As ConstructorBuilder
參數
- attributes
- MethodAttributes
列舉值的位元組合,指定要套用至建構函式的屬性。
傳回
建構函式。