%%PageItemTitle%%

Compare .NET Objects

Compare .NET Objects
IsTimespan Method
See Also  Send Feedback
KellermanSoftware.CompareNetObjects Namespace > TypeHelper Class : IsTimespan Method


type

Glossary Item Box

Returns true if the type is a timespan

Syntax

Visual Basic (Declaration) 
Public Shared Function IsTimespan( _
   ByVal type As System.Type _
) As System.Boolean
Visual Basic (Usage)Copy Code
Dim type As System.Type
Dim value As System.Boolean
 
value = TypeHelper.IsTimespan(type)
C# 
public static System.bool IsTimespan( 
   System.Type type
)
Managed Extensions for C++ 
public: static System.bool IsTimespan( 
   System.Type* type
) 

Parameters

type

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Kellerman Software 2018 All Rights Reserved.