IsPrimaryKey property

Checks whether the index is the primary key.

 Visual Basic syntax
 C# syntax
 Exceptions
 Remarks