AnalysisDataSet.AnalysisPriorityDataDataTable.AddAnalysisPriorityDataRow 方法 (AnalysisDataSet.AnalysisRow, Guid, String, Double, Decimal, Decimal)
通过使用不同的参数向AnalysisPriorityDataTable的AnalysisPriorityRow对象。
命名空间: WebSvcPortfolioAnalyses
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
Public Function AddAnalysisPriorityDataRow ( _
parentAnalysisRowByFK_Analysis_AnalysisPriorityData As AnalysisDataSet.AnalysisRow, _
MD_PROP_UID As Guid, _
MD_PROP_NAME As String, _
WEIGHT As Double, _
MIN_VALUE As Decimal, _
MAX_VALUE As Decimal _
) As AnalysisDataSet.AnalysisPriorityDataRow
用法
Dim instance As AnalysisDataSet.AnalysisPriorityDataDataTable
Dim parentAnalysisRowByFK_Analysis_AnalysisPriorityData As AnalysisDataSet.AnalysisRow
Dim MD_PROP_UID As Guid
Dim MD_PROP_NAME As String
Dim WEIGHT As Double
Dim MIN_VALUE As Decimal
Dim MAX_VALUE As Decimal
Dim returnValue As AnalysisDataSet.AnalysisPriorityDataRow
returnValue = instance.AddAnalysisPriorityDataRow(parentAnalysisRowByFK_Analysis_AnalysisPriorityData, _
MD_PROP_UID, MD_PROP_NAME, WEIGHT, _
MIN_VALUE, MAX_VALUE)
public AnalysisDataSet.AnalysisPriorityDataRow AddAnalysisPriorityDataRow(
AnalysisDataSet.AnalysisRow parentAnalysisRowByFK_Analysis_AnalysisPriorityData,
Guid MD_PROP_UID,
string MD_PROP_NAME,
double WEIGHT,
decimal MIN_VALUE,
decimal MAX_VALUE
)
参数
- parentAnalysisRowByFK_Analysis_AnalysisPriorityData
类型:WebSvcPortfolioAnalyses.AnalysisDataSet.AnalysisRow
MD_PROP_UID
类型:System.Guid包含自定义字段的 GUID。
MD_PROP_NAME
类型:System.String包含自定义字段名称。
WEIGHT
类型:System.Double包含分析中的项目的优先排序时分配给自定义字段的重量。
MIN_VALUE
类型:System.Decimal包含自定义字段的最小值。
MAX_VALUE
类型:System.Decimal包含自定义字段的最大值。
返回值
类型:WebSvcPortfolioAnalyses.AnalysisDataSet.AnalysisPriorityDataRow
备注
一般情况下,开发人员应使用的AddAnalysisPriorityDataRow重载。
另请参阅
引用
AnalysisDataSet.AnalysisPriorityDataDataTable 类