Click or drag to resize

FusionRoomAddAsset Method

Method to add user configurable asset to the corresponding collection. This will override and previous configuration for the specified number. The valid asset numbers are from 1 to 249. The name for ShadePresets asset is predefined and user passed name will be ignored. The type name of all assets is predefined except for FusionDynamicAsset and FusionStaticAsset assets and user passed type name will be ignored for those assets whose asset type name is predefined.

Namespace: Crestron.SimplSharpPro.Fusion
Assembly: Crestron.SimplSharpPro.Fusion (in Crestron.SimplSharpPro.Fusion.dll) Version: 2.21.121
Syntax
C#
public void AddAsset(
	eAssetType assetType,
	uint number,
	string name,
	string type,
	string instanceId
)

Parameters

assetType  eAssetType
Enum value of asset type.
number  UInt32
User defined asset number.
name  String
User defined name of the asset as it will be displayed in Fusion.
type  String
User defined name of the asset type as it will be displayed in Fusion. Read-only field used by Fusion that cannot be edited.
instanceId  String
User defined Instance ID of the asset. Read-only field used by Fusion that cannot be edited.
Exceptions
ExceptionCondition
AssetNumberInvalidExceptionInvalid number passed for asset.
AssetTypeInvalidExceptionInvalid asset type passed for asset.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also