OptimizerSolutionDataSet.SolutionConstraintsDataTable.AddSolutionConstraintsRow 方法 (OptimizerSolutionDataSet.SolutionRow, Guid, String, Int32, Decimal)
通过使用不同的参数向SolutionConstraintsDataTable的SolutionConstraintsRow对象。
命名空间: WebSvcPortfolioAnalyses
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
Public Function AddSolutionConstraintsRow ( _
parentSolutionRowByFK_Solution_SolutionConstraints As OptimizerSolutionDataSet.SolutionRow, _
MD_PROP_UID As Guid, _
MD_PROP_NAME As String, _
MD_PROP_POS As Integer, _
MAX_VALUE As Decimal _
) As OptimizerSolutionDataSet.SolutionConstraintsRow
用法
Dim instance As OptimizerSolutionDataSet.SolutionConstraintsDataTable
Dim parentSolutionRowByFK_Solution_SolutionConstraints As OptimizerSolutionDataSet.SolutionRow
Dim MD_PROP_UID As Guid
Dim MD_PROP_NAME As String
Dim MD_PROP_POS As Integer
Dim MAX_VALUE As Decimal
Dim returnValue As OptimizerSolutionDataSet.SolutionConstraintsRow
returnValue = instance.AddSolutionConstraintsRow(parentSolutionRowByFK_Solution_SolutionConstraints, _
MD_PROP_UID, MD_PROP_NAME, MD_PROP_POS, _
MAX_VALUE)
public OptimizerSolutionDataSet.SolutionConstraintsRow AddSolutionConstraintsRow(
OptimizerSolutionDataSet.SolutionRow parentSolutionRowByFK_Solution_SolutionConstraints,
Guid MD_PROP_UID,
string MD_PROP_NAME,
int MD_PROP_POS,
decimal MAX_VALUE
)
参数
parentSolutionRowByFK_Solution_SolutionConstraints
类型:WebSvcPortfolioAnalyses.OptimizerSolutionDataSet.SolutionRow包含的行信息。
MD_PROP_UID
类型:System.Guid包含自定义字段的 GUID。
MD_PROP_NAME
类型:System.String包含自定义字段名称。
MD_PROP_POS
类型:System.Int32包含自定义字段位置。
MAX_VALUE
类型:System.Decimal包含约束所允许的最大值。
返回值
类型:WebSvcPortfolioAnalyses.OptimizerSolutionDataSet.SolutionConstraintsRow
备注
一般情况下,开发人员应使用的AddSolutionConstraintsRow重载。
另请参阅
引用
OptimizerSolutionDataSet.SolutionConstraintsDataTable 类