TwoPartVersion.TryParse Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Versions
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim input As String
Dim ret As TwoPartVersion
Dim returnValue As Boolean

returnValue = TwoPartVersion.TryParse(input, ret)

Syntax

'Declaration
Public Shared Function TryParse ( _
    input As String, _
    <OutAttribute> ByRef ret As TwoPartVersion _
) As Boolean
public static bool TryParse (
    string input,
    out TwoPartVersion ret
)
public:
static bool TryParse (
    String^ input, 
    [OutAttribute] TwoPartVersion% ret
)
public static boolean TryParse (
    String input, 
    /** @attribute OutAttribute() */ /** @ref */ TwoPartVersion ret
)

Parameters

  • input
  • ret

Return Value

Returns Boolean.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

TwoPartVersion Structure
TwoPartVersion Members
Microsoft.OneGet.Utility.Versions Namespace