Generator.SetInputValues 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
Public Sub SetInputValues ( _
inputs As IDictionary(Of String, Object) _
)
'Usage
Dim instance As Generator
Dim inputs As IDictionary(Of String, Object)
instance.SetInputValues(inputs)
public void SetInputValues(
IDictionary<string, Object> inputs
)
public:
virtual void SetInputValues(
IDictionary<String^, Object^>^ inputs
) sealed
public final function SetInputValues(
inputs : IDictionary<String, Object>
)
Parameters
- inputs
Type: System.Collections.Generic.IDictionary<String, Object>
An IDictionary of key and value pairs. By default, the key is the property name. The value is the value of the input that corresponds to the key.
Implements
IGenerator.SetInputValues(IDictionary<String, Object>)
Remarks
These inputs are the values that the user of the generator specifies in the Properties window. The key value corresponds to the key value that is inside the InputDescriptor class.
This method calls OnSetInputValues. You should override OnSetInputValues if you want to override the SetInputValues functionality.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
Other Resources
Creating Custom Data Generators