Bagikan melalui


ProcessParameterMetadata.AutoCreateInstance Property

Gets or sets a flag indicating whether to instantiate a default process parameter if a null value is encountered.

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

Syntax

'Declaration
Public Property AutoCreateInstance As Boolean
public bool AutoCreateInstance { get; set; }
public:
property bool AutoCreateInstance {
    bool get ();
    void set (bool value);
}
member AutoCreateInstance : bool with get, set
function get AutoCreateInstance () : boolean
function set AutoCreateInstance (value : boolean)

Property Value

Type: System.Boolean
True to run the default constructor if a null process parameter is encountered; otherwise, false.

.NET Framework Security

See Also

Reference

ProcessParameterMetadata Class

Microsoft.TeamFoundation.Build.Workflow Namespace