|
CommonValidateTag Method
|
Validates sample value tag exists and skips past it.
Namespace: GSF.PhasorProtocols.IEC61850_90_5Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.249-beta
Syntaxpublic static int ValidateTag(
this byte[] buffer,
SampledValueTag tag,
ref int index
)
<ExtensionAttribute>
Public Shared Function ValidateTag (
buffer As Byte(),
tag As SampledValueTag,
ByRef index As Integer
) As Integer
public:
[ExtensionAttribute]
static int ValidateTag(
array<unsigned char>^ buffer,
SampledValueTag tag,
int% index
)
[<ExtensionAttribute>]
static member ValidateTag :
buffer : byte[] *
tag : SampledValueTag *
index : int byref -> int
GSF.PhasorProtocols.IEC61850_90_5.Common.ValidateTag = function(buffer, tag, index);
View SourceParameters
- buffer Byte
- Buffer containing sampled value tag length.
- tag SampledValueTag
- Sampled value tag to validate.
- index Int32
- Start index of buffer where tag length begins - will be auto-incremented.
Return Value
Int32Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Byte. 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