コード例 #1
0
 /// <summary>
 /// Compares this instance with a specified <see cref="TagFourCc"/> object and indicates whether this instance preceds, follows, or appears in the same position as in the sort order as the specified tag.
 /// </summary>
 /// <param name="tag">The tag to compare with this instance.</param>
 /// <returns>A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the <paramref name="tag"/> parameter.</returns>
 public int CompareTo(TagFourCc tag)
 {
     return(FourCc.CompareTo(tag.FourCc));
 }
コード例 #2
0
 /// <summary>
 /// Compares this instance with a specified <see cref="string"/> object and indicates whether this instance preceds, follows, or appears in the same position as in the sort order as the specified string.
 /// </summary>
 /// <param name="str">The string to compare with this instance.</param>
 /// <returns>A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the <paramref name="str"/> parameter.</returns>
 public int CompareTo(string str)
 {
     return(FourCc.CompareTo(str));
 }