WorkflowHelpers.CombineMetadata 方法
取得包含指定的 baseMetadata 參數合併與覆寫的 overridingMetadata 參數的 ProcessParameterMetadataCollection 。 如果兩個資料之間,無法完成從 overridingMetadata 的值保留。
命名空間: Microsoft.TeamFoundation.Build.Workflow
組件: Microsoft.TeamFoundation.Build.Workflow (在 Microsoft.TeamFoundation.Build.Workflow.dll 中)
語法
'宣告
Public Shared Function CombineMetadata ( _
baseMetadata As ProcessParameterMetadataCollection, _
overridingMetadata As ProcessParameterMetadataCollection _
) As ProcessParameterMetadataCollection
public static ProcessParameterMetadataCollection CombineMetadata(
ProcessParameterMetadataCollection baseMetadata,
ProcessParameterMetadataCollection overridingMetadata
)
參數
- baseMetadata
型別:Microsoft.TeamFoundation.Build.Workflow.ProcessParameterMetadataCollection
合併的中繼資料 ProcessParameterMetadataCollection 。
- overridingMetadata
型別:Microsoft.TeamFoundation.Build.Workflow.ProcessParameterMetadataCollection
合併的中繼資料 ProcessParameterMetadataCollection 。如果有衝突值,這個集合中的值優先。
傳回值
型別:Microsoft.TeamFoundation.Build.Workflow.ProcessParameterMetadataCollection
包含指定的 baseMetadata 參數的 ProcessParameterMetadataCollection 合併與覆寫的 overridingMetadata 參數。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。