Share via


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
Public method 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
Public property Input Gets the input property whose value is changed.
Public property Inputs Gets a read-only collection of all the current input properties of the data generator.
Public property Value Gets the new value that is assigned to the input property.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.Data.Schema.Tools.DataGenerator Namespace

OnInputChangeValidation

OnInputChangeValidation

OnInputChangeValidation

InputValidationException