UtilDebugEvaluateStructureInstanceSize Method

Determines whether the instance size (in bytes) of a Structure (ValueType) is smaller and/or greater than the size recommended by Microsoft guidelines.

Definition

Namespace: DevCase.Core.Diagnostics.Debugging.Common
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool EvaluateStructureInstanceSize(
	ValueType struct,
	ref string refMessage
)

Parameters

struct  ValueType
The source Structure (ValueType) to evaluate.
refMessage  String
When the function returns, it contains a detailed message about the size of the source Structure.

Return Value

Boolean
if the size of the source Structure is between the minimum and maximum recommended size by Microsoft guidelines; otherwise.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also