RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ModelPath

ModelPath.Compare

Method
Description:
Compares this ModelPath with another
Remarks:
The comparison is case-insensitive.
Syntax
public int Compare(
	ModelPath otherPath
)
Parameters
Parameter Type Description
otherPath ModelPath The path to compare against.
Return Value
Type Description
Int32 A signed integer indicating the lexical relationship between two ModelPaths. Value is less than zero if this path is less than the given path; zero if the two are the same; and more than zero otherwise
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null