|
CommonEncodeTagValue(String, SampledValueTag, Byte, Int32) Method
|
Encodes string based sampled value tag.
Namespace: GSF.PhasorProtocols.IEC61850_90_5Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.248-beta
Syntaxpublic static void EncodeTagValue(
this string value,
SampledValueTag tag,
byte[] buffer,
ref int index
)
<ExtensionAttribute>
Public Shared Sub EncodeTagValue (
value As String,
tag As SampledValueTag,
buffer As Byte(),
ByRef index As Integer
)
public:
[ExtensionAttribute]
static void EncodeTagValue(
String^ value,
SampledValueTag tag,
array<unsigned char>^ buffer,
int% index
)
[<ExtensionAttribute>]
static member EncodeTagValue :
value : string *
tag : SampledValueTag *
buffer : byte[] *
index : int byref -> unit
GSF.PhasorProtocols.IEC61850_90_5.Common.EncodeTagValue = function(value, tag, buffer, index);
View SourceParameters
- value String
- String to encode - null string will be encoded as empty string.
- tag SampledValueTag
- Sampled value tag to encode.
- buffer Byte
- Buffer to hold encoded sampled value.
- index Int32
- Start index of buffer where tag will begin - will be auto-incremented.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. 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).
See Also