Compare()
Contents
[
Hide
]Uri::Compare(const SharedPtr<Uri>&, const SharedPtr<Uri>&, UriComponents, UriFormat, StringComparison) method
Compares the specified Uri objects using the specified comparison rules.
static int32_t System::Uri::Compare(const SharedPtr<Uri> &uri1, const SharedPtr<Uri> &uri2, UriComponents partsToCompare, UriFormat compareFormat, StringComparison comparisonType)
Arguments
Parameter | Type | Description |
---|---|---|
uri1 | const SharedPtr<Uri>& | The first comparand |
uri2 | const SharedPtr<Uri>& | The second comparand |
partsToCompare | UriComponents | Specifies the parts of uri1 and uri2 to compare |
compareFormat | UriFormat | Specifies the character escaping used when components of URIs are compared |
comparisonType | StringComparison | One of the StringComparison values |
Return Value
A negative value if uri1 is less than uri2; 0 if uri1 and uri2 are equal; a positive value if uri1 is greater than uri2
See Also
- Enum UriComponents
- Enum UriFormat
- Enum StringComparison
- Typedef SharedPtr
- Class Uri
- Namespace System
- Library Aspose.Slides