Gets or Sets a value to abort the current operation.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Cancel As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ProgressEventArgs
Dim value As Boolean
instance.Cancel = value
value = instance.Cancel
|
C# | |
---|
public bool Cancel {get; set;} |
C++/CLI | |
---|
public:
property bool Cancel {
bool get();
void set (bool value);
} |
Return Value
true to stop the current streaming operation; otherwise false.
Example
Please check our Medical Web Viewer demo, located in WinForms.csproj project.
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also