public static extern RepeatBehavior FromDuration([In] TimeSpan duration); public static extern bool GetHasCount([In] RepeatBehavior target);