FourPartVersion.LessThanOrEqual Operator (2003 System)

Determines whether the first specified FourPartVersion is less than or equal to the second specified FourPartVersion.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

Syntax

'Declaration
Public Shared Operator <= ( _
    version1 As FourPartVersion, _
    version2 As FourPartVersion _
) As Boolean
'Usage
Dim version1 As FourPartVersion
Dim version2 As FourPartVersion
Dim returnValue As Boolean

returnValue = (version1 <= version2)
public static bool operator <=(
    FourPartVersion version1,
    FourPartVersion version2
)

Parameters

Return Value

Type: System.Boolean
true if version1 is less than or equal to version2; otherwise, false.

Permissions

See Also

Reference

FourPartVersion Structure

FourPartVersion Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace