PackUriHelper.ComparePackUri Method (Uri, Uri)
Returns a value that indicates whether two pack URIs are equivalent.
Assembly: WindowsBase (in WindowsBase.dll)
The first pack URI.
The second pack URI.
Return ValueType: System.Int32
A signed integer indicating the relationship between firstPackUri and secondPackUri.
Less than 0
firstPackUri is less than secondPackUri.
firstPackUri is equivalent to secondPackUri.
Greater than 0
firstPackUri is greater than secondPackUri.
Either firstPackUri or secondPackUri is not an absolute URI.
Either firstPackUri or secondPackUri do not begin with a "pack://" scheme.
If both firstPackUri and secondPackUri are null,returns 0. When comparing pack URIs, a null URI is always less than a non-null URI. For cases where firstPackUri and secondPackUri are both absolute pack URIs, performs the comparison.
Available since 3.0