PowerTCP Emulation for .NET CF
SynchronizingObject Property
See Also  Send comments on this topic.
Dart.Common Namespace > ComponentBase Class : SynchronizingObject Property




Gets or sets the object used to marshal data to the UI thread.

Syntax

Visual Basic (Declaration) 
Public Property SynchronizingObject As Control
Visual Basic (Usage)Copy Code
Dim instance As ComponentBase
Dim value As Control
 
instance.SynchronizingObject = value
 
value = instance.SynchronizingObject
C# 
public Control SynchronizingObject {get; set;}
Managed Extensions for C++ 
public: __property Control* get_SynchronizingObject();
public: __property void set_SynchronizingObject( 
   Control* value
);
C++/CLI 
public:
property Control^ SynchronizingObject {
   Control^ get();
   void set (    Control^ value);
}

Remarks

This property determines the thread on which the component's event handlers are called. This is usually the same thread the component was created on.

This property is automatically set to the containing control when used in the Windows Forms designer. This is typically the form or user control in which the component is used.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.