예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TaskBarItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTaskBarItems(TaskBarItem taskBarItem)
 {
     base.AddObject("TaskBarItems", taskBarItem);
 }
예제 #2
0
 /// <summary>
 /// Create a new TaskBarItem object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="characterId">Initial value of the CharacterId property.</param>
 /// <param name="taskBar">Initial value of the TaskBar property.</param>
 /// <param name="line">Initial value of the Line property.</param>
 /// <param name="grid">Initial value of the Grid property.</param>
 /// <param name="shortcut">Initial value of the Shortcut property.</param>
 /// <param name="shortcutId">Initial value of the ShortcutId property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="index">Initial value of the Index property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="data">Initial value of the Data property.</param>
 /// <param name="string">Initial value of the String property.</param>
 public static TaskBarItem CreateTaskBarItem(global::System.Int32 id, global::System.Int32 characterId, global::System.Int32 taskBar, global::System.Int32 line, global::System.Int32 grid, global::System.Int32 shortcut, global::System.Int32 shortcutId, global::System.Int32 type, global::System.Int32 index, global::System.Int32 userId, global::System.Int32 data, global::System.String @string)
 {
     TaskBarItem taskBarItem = new TaskBarItem();
     taskBarItem.Id = id;
     taskBarItem.CharacterId = characterId;
     taskBarItem.TaskBar = taskBar;
     taskBarItem.Line = line;
     taskBarItem.Grid = grid;
     taskBarItem.Shortcut = shortcut;
     taskBarItem.ShortcutId = shortcutId;
     taskBarItem.Type = type;
     taskBarItem.Index = index;
     taskBarItem.UserId = userId;
     taskBarItem.Data = data;
     taskBarItem.String = @string;
     return taskBarItem;
 }