Click or drag to resize

StorageHelperGetToDate Method

To get the end date for market data, stored in the storage.

Namespace:  StockSharp.Algo.Storages
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: (4.4.16)
public static Nullable<DateTime> GetToDate(
	this IMarketDataStorage storage


Type: StockSharp.Algo.StoragesIMarketDataStorage
Market-data storage.

Return Value

Type: NullableDateTime
The end date. If the value is not initialized, the storage is empty.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMarketDataStorage. 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).
See Also