Click or drag to resize

SmartObjectCollectionTryGetValue Method

Get the SmartObject associated with the specified SmartObject ID.

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public override bool TryGetValue(
	uint paramSmartObjectId,
	out SmartObject?? paramSmartObject
)

Parameters

paramSmartObjectId  UInt32
Specified key of the value to get.
paramSmartObject  SmartObject
Value of the associated key, if the key is found in the collection. If the key is not found the default value is returned.

Return Value

Boolean
True, if the collection contains a SmartObject for the specified ID; false, otherwise.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also