InputChangingEventArgs Class
Provides data for the validation events that occur when the user changes input properties.
Inheritance Hierarchy
System.Object
System.EventArgs
Microsoft.Data.Schema.Tools.DataGenerator.InputChangingEventArgs
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public NotInheritable Class InputChangingEventArgs _
Inherits EventArgs
[CLSCompliantAttribute(true)]
public sealed class InputChangingEventArgs : EventArgs
[CLSCompliantAttribute(true)]
public ref class InputChangingEventArgs sealed : public EventArgs
[<Sealed>]
[<CLSCompliantAttribute(true)>]
type InputChangingEventArgs =
class
inherit EventArgs
end
public final class InputChangingEventArgs extends EventArgs
The InputChangingEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InputChangingEventArgs | Initializes a new instance of the InputChangingEventArgs class by using the provided array of inputs, the input that changes, and the new value. |
Top
Properties
Name | Description | |
---|---|---|
Input | Gets the input property whose value is changed. | |
Inputs | Gets a read-only collection of all the current input properties of the data generator. | |
Value | Gets the new value that is assigned to the input property. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
InputChangingEventArgs provides data for the following events:
To cancel the assignment of a new value to a property, throw an InputValidationException in one of these methods.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.