Share via


Generator.OnSetInputValues Method

Sets the input values for a data generator.

Namespace:  Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly:  Microsoft.VisualStudio.TeamSystem.Data (in Microsoft.VisualStudio.TeamSystem.Data.dll)

Syntax

'Declaration
Protected Overridable Sub OnSetInputValues ( _
    inputs As IDictionary(Of String, Object) _
)
'Usage
Dim inputs As IDictionary(Of String, Object)

Me.OnSetInputValues(inputs)
protected virtual void OnSetInputValues(
    IDictionary<string, Object> inputs
)
protected:
virtual void OnSetInputValues(
    IDictionary<String^, Object^>^ inputs
)
protected function OnSetInputValues(
    inputs : IDictionary<String, Object>
)

Parameters

Remarks

The default functionality of SetInputValues reads the key name, finds the corresponding property, and sets the value of the property.

The SetInputValues method calls this method. You should override OnSetInputValues if you want to override the SetInputValues functionality.

Permissions

See Also

Reference

Generator Class

Generator Members

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace

GeneratorAttribute

GeneratorInit

IGenerator

Other Resources

Creating Custom Data Generators

An Overview of Data Generator Extensibility

Specifying Details of Data Generation for a Column