CommonValidateTag Method

Validates sample value tag exists and skips past it.

Definition

Namespace: Gemstone.PhasorProtocols.IEC61850_90_5
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.178 -- Release Build+f2b94d09f81a61f5d7415b9db3fd60b6ae3f7e12
public static int ValidateTag(
	this byte[] buffer,
	SampledValueTag tag,
	ref int index
)

Parameters

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

Int32
Length of sampled value tag.

Usage 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