Method ItemEquals<T>
- Namespace
- Odotocodot.OneNote.Linq
- Assembly
- Odotocodot.OneNote.Linq.dll
ItemEquals<T>(T, T)
Checks if two Odotocodot.OneNote.Linq.IOneNoteItems are equal in OneNote.
Shorthand for comparing the ID of OneNote hierarchy items. E.g.
if(left.ID == right.ID)
{
Console.WriteLine("Equal")
}
public static bool ItemEquals<T>(this T left, T right) where T : IOneNoteItem
Parameters
left
Tright
T
Returns
Type Parameters
T