Click or drag to resize

ArchiveDataBlockPointerExtensionsMatches Method

Tests if the dataBlockPointer matches the specified search criteria.

Namespace: GSF.Historian.Files
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.218-beta
Syntax
public static bool Matches(
	this ArchiveDataBlockPointer dataBlockPointer,
	int historianID,
	TimeTag startTime,
	TimeTag endTime
)
View Source

Parameters

dataBlockPointer  ArchiveDataBlockPointer
ArchiveDataBlockPointer to test.
historianID  Int32
Desired historian ID.
startTime  TimeTag
Desired start time.
endTime  TimeTag
Desired end time.

Return Value

Boolean
true if the specified dataBlockPointer is for historianID and falls within the startTime and endTime; otherwise false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ArchiveDataBlockPointer. 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