CreateInstanceBinder.FallbackCreateInstance Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs the binding of the dynamic create operation if the target dynamic object cannot bind.
FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[]) |
Performs the binding of the dynamic create operation if the target dynamic object cannot bind. |
FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject) |
When overridden in the derived class, performs the binding of the dynamic create operation if the target dynamic object cannot bind. |
- Source:
- CreateInstanceBinder.cs
- Source:
- CreateInstanceBinder.cs
- Source:
- CreateInstanceBinder.cs
Performs the binding of the dynamic create operation if the target dynamic object cannot bind.
public:
System::Dynamic::DynamicMetaObject ^ FallbackCreateInstance(System::Dynamic::DynamicMetaObject ^ target, cli::array <System::Dynamic::DynamicMetaObject ^> ^ args);
public System.Dynamic.DynamicMetaObject FallbackCreateInstance (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args);
member this.FallbackCreateInstance : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject[] -> System.Dynamic.DynamicMetaObject
Public Function FallbackCreateInstance (target As DynamicMetaObject, args As DynamicMetaObject()) As DynamicMetaObject
Parameters
- target
- DynamicMetaObject
The target of the dynamic create operation.
- args
- DynamicMetaObject[]
The arguments of the dynamic create operation.
Returns
The DynamicMetaObject representing the result of the binding.
Applies to
.NET 9 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
- Source:
- CreateInstanceBinder.cs
- Source:
- CreateInstanceBinder.cs
- Source:
- CreateInstanceBinder.cs
When overridden in the derived class, performs the binding of the dynamic create operation if the target dynamic object cannot bind.
public:
abstract System::Dynamic::DynamicMetaObject ^ FallbackCreateInstance(System::Dynamic::DynamicMetaObject ^ target, cli::array <System::Dynamic::DynamicMetaObject ^> ^ args, System::Dynamic::DynamicMetaObject ^ errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackCreateInstance (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args, System.Dynamic.DynamicMetaObject errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackCreateInstance (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args, System.Dynamic.DynamicMetaObject? errorSuggestion);
abstract member FallbackCreateInstance : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject[] * System.Dynamic.DynamicMetaObject -> System.Dynamic.DynamicMetaObject
Public MustOverride Function FallbackCreateInstance (target As DynamicMetaObject, args As DynamicMetaObject(), errorSuggestion As DynamicMetaObject) As DynamicMetaObject
Parameters
- target
- DynamicMetaObject
The target of the dynamic create operation.
- args
- DynamicMetaObject[]
The arguments of the dynamic create operation.
- errorSuggestion
- DynamicMetaObject
The binding result to use if binding fails, or null.
Returns
The DynamicMetaObject representing the result of the binding.
Applies to
.NET 9 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: