Visual Basic (Declaration) | |
---|---|
Public Property Cancel As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool Cancel {get; set;} |
Return Value
true if the change should be canceled; otherwise, false.For an example, refer to AnnAutomation.BeforeObjectChanged.
You should set this property to true to cancel the ChangeType operation to the objects in Objects.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family