Sets corresponding delegates of
VCOverride with another
virtualManager
methods. It enumerates all methods of
virtualManager and searches for a field with
same name in
VCOverride, wraps method into and assigns to that field.
It doesn't change other field values.
Namespace: VcClient.TestAssembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)
Syntax
C# |
---|
public virtual void Attach(
Object virtualManager,
bool append
) |
Visual Basic |
---|
Public Overridable Sub Attach ( _
virtualManager As Object, _
append As Boolean _
) |
Visual C++ |
---|
public:
virtual void Attach(
Object^ virtualManager,
bool append
) |
Parameters
- virtualManager
- Type: Object
Object with methods that can override VCOverride delegates.
- append
- Type: Boolean
If true, appends corresponding field with another delegate; otherwise,
it changes field value with new delegate.
Exceptions
Exception | Condition |
---|
ArgumentNullException | virtualManager is null. |
See Also