WorkflowHelpers.GetProcessParametersAndMetadata Method
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
‘선언
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
- selectedProcess
Type: Microsoft.TeamFoundation.Build.Client.IProcessTemplate
An IProcessTemplate object representing the process to get parameters and metadata for.
- metadata
Type: Microsoft.TeamFoundation.Build.Workflow.ProcessParameterMetadataCollection%
A ProcessParameterMetadataCollection object containing the process parameters and metadata of the specified process.
Return Value
Type: System.Collections.Generic.Dictionary<String, ProcessParameter>
A Dictionary<TKey, TValue> of process parameters and metadata.
.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.