Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFTimeIntervalDefinition Structure

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFTimeIntervalDefinition Structure
Time interval definition structure.

Namespace:  OSIsoft.AF.Time
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

[SerializableAttribute]
public struct AFTimeIntervalDefinition : IEquatable<AFTimeIntervalDefinition>
<SerializableAttribute>
Public Structure AFTimeIntervalDefinition
	Implements IEquatable(Of AFTimeIntervalDefinition)

Dim instance As AFTimeIntervalDefinition
[SerializableAttribute]
public value class AFTimeIntervalDefinition : IEquatable<AFTimeIntervalDefinition>
[<SealedAttribute>]
[<SerializableAttribute>]
type AFTimeIntervalDefinition =  
    struct
        interface IEquatable<AFTimeIntervalDefinition>
    end

The AFTimeIntervalDefinition type exposes the following members.

Constructors

  NameDescription
Public method
AFTimeIntervalDefinition
Creates an instance of an AFTimeIntervalDefinition for the specified AFTimeRange and number of intervals.

Properties

  NameDescription
Public property
NumberOfIntervals
The number of intervals within the Range.
Public property
Range
The AFTimeRange of the interval definition.

Methods

  NameDescription
Public method
Equals(Object)
Determines whether the specified Object is equal to the current object.
(Overrides ValueTypeEquals(Object).)
Public method
Equals(AFTimeIntervalDefinition)
Indicates whether the current object is equal to another object of the same type.
Public method
GetHashCode
Gets the hash code for this instance of the object which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
ToString
Returns a String that represents the current object.
(Overrides ValueTypeToString.)

Operators

  NameDescription
Public operatorStatic member
Equality
The equality operator (==) compares its operands to determine if they are equal.
Public operatorStatic member
Inequality
The inequality operator (!=) compares its operands to determine if they are not equal.

Remarks

This structure defines an interval definition returned by the GetEvenTimeIntervalDefinitions(AFTimeRange) method.

Version Information

AFSDK


See Also

TitleResults for “How to create a CRG?”Also Available in