共用方式為


SqlHierarchyId.CompareTo 方法

包含保護的成員
包含繼承的成員

Returns a value indicating the results of a comparison between two SqlHierarchyId nodes.

此成員已超載。如需此成員完整的詳細資訊 (包括語法、使用狀況及範例),按一下多載清單中的名稱。

多載 清單

  名稱 說明
公用方法 CompareTo(Object) Returns a value indicating the results of a comparison between a SqlHierarchyId and an object.
公用方法 CompareTo(SqlHierarchyId) Returns a value indicating the results of a comparison between two SqlHierarchyId nodes.

上層

請參閱

參考

SqlHierarchyId 結構

Microsoft.SqlServer.Types 命名空間