Visual Basic (Declaration) | |
---|---|
Public Property Cancel As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ScreenCaptureInformationEventArgs Dim value As Boolean instance.Cancel = value value = instance.Cancel |
C# | |
---|---|
public bool Cancel {get; set;} |
Property Value
The value is false if the user code works OK, true otherwise.For an example, refer to ScreenCaptureEngine.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7