Click or drag to resize

DISExtensionsReadModulationT Method

Customize MACE to meet your Live-Virtual-Constructive Simulation and Training Requirements.

[This is preliminary documentation and is subject to change.]

Extension to read the contents of the modulation array and set values in the structure.

Namespace:  BSI.MACE.Network.DIS
Assembly:  BSILib (in BSILib.dll) Version: 1.2.1.22047 (1.0.0.0)
Syntax
public static T ReadModulation<T>(
	this disStructureTransmitterPacket txPDU
)
where T : new()

Parameters

txPDU
Type: BSI.MACE.Network.DISdisStructureTransmitterPacket
Trasnmitter PDU to get modulation data from.

Type Parameters

T
Structure of type T to convert to byte array.

Return Value

Type: T
The struct containing data to write to the array.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type disStructureTransmitterPacket. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
If no modulation data exists then a new empty structure is returned.
See Also