Share via


FourPartVersion.Implicit Method (FourPartVersion)

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 FourPartVersion
Dim output As TwoPartVersion

output = CType(input, TwoPartVersion)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    version As FourPartVersion _
) As TwoPartVersion
public static implicit operator TwoPartVersion (
    FourPartVersion version
)
public:
static implicit operator TwoPartVersion (
    FourPartVersion version
)

Parameters

  • version

Return Value

Returns TwoPartVersion.

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

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