Click or drag to resize

INativeIdStorageTryAdd Method

Try add native security identifier to storage.

Namespace:  StockSharp.Algo.Storages
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
bool TryAdd(
	string storageName,
	SecurityId securityId,
	Object nativeId,
	bool isPersistable = true
)

Parameters

storageName
Type: SystemString
Storage name.
securityId
Type: StockSharp.MessagesSecurityId
Security identifier.
nativeId
Type: SystemObject
Native (internal) trading system security id.
isPersistable (Optional)
Type: SystemBoolean
Save the identifier as a permanent.

Return Value

Type: Boolean
if native identifier was added. Otherwise, .
See Also