C-DEngine 5.105

TheThingStore..::..CloneFromTheThing Method (ICDEThing, Boolean, Boolean, Boolean, IEnumerable<(Of <(<'String>)>)>, IEnumerable<(Of <(<'String>)>)>)

Clones all public properties and returns a TheThingStore class

Namespace:  nsCDEngine.ViewModels
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static TheThingStore CloneFromTheThing(
	ICDEThing iThing,
	bool ResetBase,
	bool bUsePropertyTimestamp,
	bool cloneProperties,
	IEnumerable<string> propertiesToInclude,
	IEnumerable<string> propertiesToExclude
)
Public Shared Function CloneFromTheThing ( _
	iThing As ICDEThing, _
	ResetBase As Boolean, _
	bUsePropertyTimestamp As Boolean, _
	cloneProperties As Boolean, _
	propertiesToInclude As IEnumerable(Of String), _
	propertiesToExclude As IEnumerable(Of String) _
) As TheThingStore
public:
static TheThingStore^ CloneFromTheThing(
	ICDEThing^ iThing, 
	bool^ ResetBase, 
	bool^ bUsePropertyTimestamp, 
	bool^ cloneProperties, 
	IEnumerable<String^>^ propertiesToInclude, 
	IEnumerable<String^>^ propertiesToExclude
)

Parameters

iThing
Type: nsCDEngine.Engines.ThingService..::..ICDEThing
The Thing to clone.
ResetBase
Type: Boolean
Use current time instead of Thing timestamp
bUsePropertyTimestamp
Type: Boolean
cloneProperties
Type: Boolean
propertiesToInclude
Type: IEnumerable<(Of <(<'String>)>)>
propertiesToExclude
Type: IEnumerable<(Of <(<'String>)>)>

Return Value