C-DEngine 5.105

TheCommonUtils..::..GetDeviceIDML Method (Guid, String)

Gets a Markup encoded version of a DeviceID for the System Log. If "ShowMInLog" is true. Otherwise just returns the pDeviceID.ToString()

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

Syntax


public static string GetDeviceIDML(
	Guid pDeviceID,
	string AddToSpanStyle
)
Public Shared Function GetDeviceIDML ( _
	pDeviceID As Guid, _
	AddToSpanStyle As String _
) As String
public:
static String^ GetDeviceIDML(
	Guid^ pDeviceID, 
	String^ AddToSpanStyle
)

Parameters

pDeviceID
Type: Guid
Device ID to be wrapped in Markup
AddToSpanStyle
Type: String
Any style to add to the span surrounding the DeviceID. Can be used i.e. to change color or font width (default is C-Labs Blue and bold)

Return Value