コード例 #1
0
 /// <summary>
 /// Determines whether this instance and another specified <see cref="string"/> object have the same value.
 /// </summary>
 /// <param name="value">The string to compare to this instance.</param>
 /// <returns>true if the value of the <paramref name="value"/> parameter is the same as the value of this instance; otherwise, false. If <paramref name="value"/> is null, the method returns false.</returns>
 public bool Equals(string value)
 {
     return(FourCc.Equals(value));
 }
コード例 #2
0
 /// <summary>
 /// Determines whether this instance and another specified <see cref="TagFourCc"/> object have the same value.
 /// </summary>
 /// <param name="value">The tag to compare to this instance.</param>
 /// <returns>true if the value of the <paramref name="value"/> parameter is the same as the value of this instance; otherwise, false. If <paramref name="value"/> is null, the method returns false.</returns>
 public bool Equals(TagFourCc value)
 {
     return(FourCc.Equals(value.FourCc));
 }