WorkflowHelpers.CombineMetadata Method
Gets a ProcessParameterMetadataCollection that contains the specified baseMetadata parameters combined with the overriding overridingMetadata parameters. Values from overridingMetadata are kept if there is a conflict between the two data.
Namespace: Microsoft.TeamFoundation.Build.Workflow
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Декларация
Public Shared Function CombineMetadata ( _
baseMetadata As ProcessParameterMetadataCollection, _
overridingMetadata As ProcessParameterMetadataCollection _
) As ProcessParameterMetadataCollection
public static ProcessParameterMetadataCollection CombineMetadata(
ProcessParameterMetadataCollection baseMetadata,
ProcessParameterMetadataCollection overridingMetadata
)
public:
static ProcessParameterMetadataCollection^ CombineMetadata(
ProcessParameterMetadataCollection^ baseMetadata,
ProcessParameterMetadataCollection^ overridingMetadata
)
static member CombineMetadata :
baseMetadata:ProcessParameterMetadataCollection *
overridingMetadata:ProcessParameterMetadataCollection -> ProcessParameterMetadataCollection
public static function CombineMetadata(
baseMetadata : ProcessParameterMetadataCollection,
overridingMetadata : ProcessParameterMetadataCollection
) : ProcessParameterMetadataCollection
Parameters
- baseMetadata
Type: Microsoft.TeamFoundation.Build.Workflow.ProcessParameterMetadataCollection
A ProcessParameterMetadataCollection of metadata to combine.
- overridingMetadata
Type: Microsoft.TeamFoundation.Build.Workflow.ProcessParameterMetadataCollection
A ProcessParameterMetadataCollection of metadata to combine. If there is a conflict in values, this collection’s values take precedence.
Return Value
Type: Microsoft.TeamFoundation.Build.Workflow.ProcessParameterMetadataCollection
A ProcessParameterMetadataCollection that contains the specified baseMetadata parameters combined with the overriding overridingMetadata parameters.
.NET Framework Security
- 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.