共用方式為


WorkflowHelpers.GetProcessParametersAndMetadata Method (IProcessTemplate, ProcessParameterMetadataCollection%)

Gets the process parameters and metadata from the specified process.

Namespace:  Microsoft.TeamFoundation.Build.Workflow
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
Public Shared Function GetProcessParametersAndMetadata ( _
    selectedProcess As IProcessTemplate, _
    <OutAttribute> ByRef metadata As ProcessParameterMetadataCollection _
) As Dictionary(Of String, ProcessParameter)
public static Dictionary<string, ProcessParameter> GetProcessParametersAndMetadata(
    IProcessTemplate selectedProcess,
    out ProcessParameterMetadataCollection metadata
)
public:
static Dictionary<String^, ProcessParameter^>^ GetProcessParametersAndMetadata(
    IProcessTemplate^ selectedProcess, 
    [OutAttribute] ProcessParameterMetadataCollection^% metadata
)
static member GetProcessParametersAndMetadata : 
        selectedProcess:IProcessTemplate * 
        metadata:ProcessParameterMetadataCollection byref -> Dictionary<string, ProcessParameter> 
public static function GetProcessParametersAndMetadata(
    selectedProcess : IProcessTemplate, 
    metadata : ProcessParameterMetadataCollection
) : Dictionary<String, ProcessParameter>

Parameters

Return Value

Type: System.Collections.Generic.Dictionary<String, ProcessParameter>
A Dictionary<TKey, TValue> of process parameters and metadata.

.NET Framework Security

See Also

Reference

WorkflowHelpers Class

GetProcessParametersAndMetadata Overload

Microsoft.TeamFoundation.Build.Workflow Namespace