openPDC Synchrophasor Help
CreateNewValueFunction<(Of <(<'TDefinition, TValue>)>)> Delegate
NamespacesTVA.PhasorProtocolsCreateNewValueFunction<(Of <(<'TDefinition, TValue>)>)>
Defines function signature for creating new IChannelValue<(Of <(<'T>)>)> objects.
Declaration Syntax
C#Visual BasicVisual C++
public delegate TValue CreateNewValueFunction<TDefinition, TValue>(
	IDataCell parent,
	TDefinition definition,
	byte[] binaryImage,
	int startIndex,
	out int parsedLength
)
where TDefinition : IChannelDefinition
where TValue : IChannelValue<T>
Public Delegate Function CreateNewValueFunction(Of TDefinition As IChannelDefinition, TValue As IChannelValue(Of T)) ( _
	parent As IDataCell, _
	definition As TDefinition, _
	binaryImage As Byte(), _
	startIndex As Integer, _
	<OutAttribute> ByRef parsedLength As Integer _
) As TValue
generic<typename TDefinition, typename TValue>
where TDefinition : IChannelDefinition
where TValue : IChannelValue<T>
public delegate TValue CreateNewValueFunction(
	IDataCell^ parent, 
	TDefinition definition, 
	array<unsigned char>^ binaryImage, 
	int startIndex, 
	[OutAttribute] int% parsedLength
)
Generic Template Parameters
TDefinition
Specific IChannelDefinition type that the IChannelValue<(Of <(<'T>)>)> references.
TValue
Specific IChannelValue<(Of <(<'T>)>)> type that the CreateNewValueFunction<(Of <(<'TDefinition, TValue>)>)> creates.
Parameters
parent (IDataCell)
Reference to parent IDataCell.
definition (TDefinition)
Refrence to associated IChannelDefinition object.
binaryImage (array<Byte>[]()[][])
Binary image to parse IChannelValue<(Of <(<'T>)>)> from.
startIndex (Int32)
Start index into binaryImage to begin parsing.
parsedLength (Int32%)
Returns the total number of bytes parsed from binaryImage.
Return Value

Assembly: TVA.PhasorProtocols (Module: TVA.PhasorProtocols) Version: 1.4.192.0