Bewerken

Share via


FieldBuilder.SetConstantCore(Object) Method

Definition

When overridden in a derived class, sets the default value of this field.

protected:
 abstract void SetConstantCore(System::Object ^ defaultValue);
protected abstract void SetConstantCore (object? defaultValue);
abstract member SetConstantCore : obj -> unit
Protected MustOverride Sub SetConstantCore (defaultValue As Object)

Parameters

defaultValue
Object

The new default value for this field.

Applies to