Enable or disable firing property event when calling calling set
Properties property.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property EnableSetPropertyEvent As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As TwainSession
Dim value As Boolean
instance.EnableSetPropertyEvent = value
value = instance.EnableSetPropertyEvent
|
| C# | |
|---|
public bool EnableSetPropertyEvent {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property bool get_EnableSetPropertyEvent();
public: __property void set_EnableSetPropertyEvent(
bool value
); |
| C++/CLI | |
|---|
public:
property bool EnableSetPropertyEvent {
bool get();
void set (bool value);
} |
Return Value
true to enable the event, false to disable it.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also