更新:2007 年 11 月
设置数据生成器的输入值。
命名空间: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
程序集: Microsoft.VisualStudio.TeamSystem.Data(在 Microsoft.VisualStudio.TeamSystem.Data.dll 中)
语法
声明
Protected Overridable Sub OnSetInputValues ( _
inputs As IDictionary(Of String, Object) _
)
用法
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>
)
参数
inputs
类型:System.Collections.Generic.IDictionary<String, Object>由键和值对组成的 IDictionary。默认情况下,键为属性名称。值为与键对应的输入值。
备注
SetInputValues 的默认功能是读取键名,找到对应属性,再设置该属性的值。
SetInputValues 方法调用此方法。如果要重写 SetInputValues 功能,则应重写 OnSetInputValues。
权限
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
另请参见
参考
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator 命名空间