WorkflowHelpers.GetMetadata Method
Gets the value of the metadata property of the specified activity.
Namespace: Microsoft.TeamFoundation.Build.Workflow
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public Shared Function GetMetadata ( _
rootActivity As Activity _
) As ProcessParameterMetadataCollection
public static ProcessParameterMetadataCollection GetMetadata(
Activity rootActivity
)
public:
static ProcessParameterMetadataCollection^ GetMetadata(
Activity^ rootActivity
)
static member GetMetadata :
rootActivity:Activity -> ProcessParameterMetadataCollection
public static function GetMetadata(
rootActivity : Activity
) : ProcessParameterMetadataCollection
Parameters
- rootActivity
Type: System.Activities.Activity
The Activity object from which to get metadata.
Return Value
Type: Microsoft.TeamFoundation.Build.Workflow.ProcessParameterMetadataCollection
A ProcessParameterMetadataCollection. Null if the data does not exist or is not of the ProcessParameterMetadataCollection type.
.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.