C-DEngine 5.105

TheThing..::..GetSafeThingGuid Method

Sets the ID of a TheThing (SetProperty(pGuidName+"_ID",newGuid>);

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

Syntax


public static Guid GetSafeThingGuid(
	ICDEThing pThing,
	string pGuidName
)
Public Shared Function GetSafeThingGuid ( _
	pThing As ICDEThing, _
	pGuidName As String _
) As Guid
public:
static Guid^ GetSafeThingGuid(
	ICDEThing^ pThing, 
	String^ pGuidName
)

Parameters

pThing
Type: nsCDEngine.Engines.ThingService..::..ICDEThing
Target TheThing
pGuidName
Type: String
Prefix of a new and Unique ID Property

Return Value