DateTimeValueTestExtensions.ShouldBe(DateTimeValue, Season) Method
compares the value to the expected value
Namespace: MoreDateTimeAssembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
public static bool ShouldBe(
this DateTimeValue dtv,
Season value
)
Dim dtv As DateTimeValue
Dim value As Season
Dim returnValue As Boolean
returnValue = dtv.ShouldBe(value)
public:
[ExtensionAttribute]
static bool ShouldBe(
DateTimeValue^ dtv,
Season value
)
No code example is currently available or this language may not be supported.
- dtv DateTimeValue
- The dtv.
- value Season
- The value.
BooleanA bool.In Visual Basic and C#, you can call this method as an instance method on any object of type
DateTimeValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).