PIPointClass Class
- Last UpdatedNov 18, 2025
- 5 minute read
- PI System
- AF SDK 2024 R2
- Developer
The PIPointClass object represents a point class on a PIServer.

Inheritance Hierarchy
SystemObject
OSIsoft.AF.PIPIPointClass
OSIsoft.AF.PIPIPointClass
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public sealed class PIPointClass : IComparable, IComparable<PIPointClass>, IEquatable<PIPointClass>
Public NotInheritable Class PIPointClass Implements IComparable, IComparable(Of PIPointClass), IEquatable(Of PIPointClass) Dim instance As PIPointClass
public ref class PIPointClass sealed : IComparable, IComparable<PIPointClass^>, IEquatable<PIPointClass^>
[<SealedAttribute>] type PIPointClass = class interface IComparable interface IComparable<PIPointClass> interface IEquatable<PIPointClass> end
The PIPointClass type exposes the following members.
Properties
Methods
| Name | Description | |
|---|---|---|
| CompareTo(Object) |
Compares this instance with a specified Object.
| |
| CompareTo(PIPointClass) |
Compares this instance with a specified PIPointClass.
| |
| Equals(Object) |
Determines whether the specified Object is equal to the current object.
(Overrides ObjectEquals(Object).) | |
| Equals(PIPointClass) |
Indicates whether the current object is equal to another object of the same type.
| |
| GetAttributes |
Get the list of PIPoint attribute values for this PIPointClass.
| |
| GetAttributeValue |
Get the PIPoint attribute value for the specified attribute name.
| |
| 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 ObjectGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString |
Returns a String that represents the current object.
(Overrides ObjectToString.) |
Operators
| Name | Description | |
|---|---|---|
| Equality |
The equality operator (==) compares its operands to determine if they are equal.
| |
| GreaterThan |
The greater than relation operator (>) compares its operands to determine
which one is greater than the other.
| |
| GreaterThanOrEqual |
The greater than or equal relation operator (>=) compares its operands to determine
which one is greater than or equal to the other.
| |
| Inequality |
The inequality operator (!=) compares its operands to determine if they are not equal.
| |
| LessThan |
The less than relation operator (<) compares its operands to determine
which one is less than the other.
| |
| LessThanOrEqual |
The less than or equal relation operator (<=) compares its operands to determine
which one is less than or equal to the other.
|
Remarks
The PIPointClass represents a template of attributes used
for creating a PIPoint. Each PIPoint on a
PIServer refers to a single PIPointClass that
defines the attributes that apply to the PIPoint.
| This method, property, or class is not available in the legacy .NET 3.5 version of the SDK. |
Examples
// Get the PIPointClasses from the PIServer on the local computer PISystems myPISystems = new PISystems(); PISystem myPISystem = myPISystems.DefaultPISystem; PIServer myPIServer = PIServer.FindPIServer(myPISystem, piServerName); // Display information about each PIPointClass and its attributes foreach (PIPointClass pointClass in myPIServer.PointClasses) { Console.WriteLine("Name of the PIPointClass = {0}", pointClass.Name); IDictionary<string, object> attributes = pointClass.GetAttributes(); foreach (var item in attributes) { Console.WriteLine(" Attribute '{0}' = '{1}'", item.Key, item.Value); } }
' Get the PIPointClasses from the PIServer on the local computer Dim myPISystems As New PISystems Dim myPISystem As PISystem = myPISystems.DefaultPISystem Dim myPIServer As PIServer = PIServer.FindPIServer(myPISystem, piServerName) ' Display information about each PIPointClass and its attributes For Each pointClass As PIPointClass In myPIServer.PointClasses Console.WriteLine("Name of the PIPointClass = {0}", pointClass.Name) Dim attributes As IDictionary(Of String, Object) = pointClass.GetAttributes For Each item As KeyValuePair(Of String, Object) In attributes Console.WriteLine(" Attribute '{0}' = '{1}'", item.Key, item.Value) Next Next
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.