Class ValueBindingHandle
Represents a handle to an internally addressed, writable IManagedInteropValue.
public record ValueBindingHandle : IBindingHandle, IEquatable<ValueBindingHandle>
- Inheritance
-
ValueBindingHandle
- Implements
- Inherited Members
Constructors
ValueBindingHandle(IManagedInteropValue)
public ValueBindingHandle(IManagedInteropValue value)
Parameters
valueIManagedInteropValue
Properties
BindingCapabilities
Indicates the valid members of this binding.
public BindingCapabilities BindingCapabilities { get; }
Property Value
Methods
GetValue(IVBExecutionContext)
Gets the value associated to this handle.
public IManagedInteropValue GetValue(IVBExecutionContext context)
Parameters
contextIVBExecutionContext
Returns
Remarks
👉 Verify that the binding supports GetValue.
Exceptions
Invoke(IVBExecutionContext, IManagedInteropValue[])
Invokes the callable entity associated to this handle.
public IManagedInteropValue Invoke(IVBExecutionContext context, IManagedInteropValue[] args)
Parameters
contextIVBExecutionContextargsIManagedInteropValue[]
Returns
Remarks
👉 Verify that the binding supports SetValue.
Exceptions
SetValue(IVBExecutionContext, IManagedInteropValue)
Sets the value associated to this handle.
public void SetValue(IVBExecutionContext context, IManagedInteropValue value)
Parameters
contextIVBExecutionContextvalueIManagedInteropValue
Remarks
👉 Verify that the binding supports SetValue.