TaskVersionSpec.Explicit(String to TaskVersionSpec) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides an explicit conversion constructor for converting from a String.
public static explicit operator Microsoft.TeamFoundation.DistributedTask.WebApi.TaskVersionSpec(string version);
static member op_Explicit : string -> Microsoft.TeamFoundation.DistributedTask.WebApi.TaskVersionSpec
Public Shared Narrowing Operator CType (version As String) As TaskVersionSpec
Parameters
- version
- String
The version specification string
Returns
A version specification object
Exceptions
When the provided version string is not valid