Version

Task Class Methods

For a list of all members of this type, see Task members.

Public Methods
 NameDescription
Public MethodCanIndentDetermines if this Task from the Tasks collection can be added to the Tasks collection of its previous sibling.  
Public MethodCanOutdentDetermines if this Task from the Tasks collection can be a sibling of its parent task.  
Public MethodCollapseAllSets the Expanded property to false for all members of this collection and their descendants.  
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDispose (Inherited from Infragistics.Shared.DisposableObject)
Public MethodEqualsOverloaded. Returns whether the specified Task is the same logical instance as this task.  
Public MethodExpandAllSets the Expanded property to true for all members of this collection and their descendants.  
Public MethodExpandAllAncestorsExpands all ancestors of this Task to ensure that it is able to be made visible.  
Public Methodstatic (Shared in Visual Basic)FromBytesDeserializes a single Task object from the specified stream.  
Public MethodGetCustomPropertyReturns the value of the property having the given name  
Public MethodGetDurationReturns the duration of this Task, optionally adjusting the returned value to remove non-working hours.  
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodIndentRemoves this Task from the Tasks collection to which it currently belongs, and adds it to the Tasks collection of its former previous sibling.  
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodIsAncestorOfReturns whether this Task is an ancestor of the specified one.  
Public MethodIsDescendantOfReturns whether this Task is a descendant of the specified one.  
Public MethodNotifyPropChangeOverloaded.  (Inherited from Infragistics.Shared.SubObjectBase)
Public MethodOutdentRemoves this Task from the Tasks collection to which it currently belongs, and makes it a sibling of its former parent task.  
Public MethodResetRestores the properties of this object to their default values.  
Public MethodResetCustomPropertiesResets all custom properties on the task to their default values.  
Public MethodResetCustomPropertyResets a custom property on the task to it's default value.  
Public MethodResetGridSettingsResets the GridSettings property to its default value.  
Public MethodResetTaskSettingsResets the TaskSettings property to its default value.  
Public MethodResetTimelineSettingsResets the TimelineSettings property to its default value.  
Public MethodSaveOverloaded. Returns a byte array containing the serialized object graph of this Task.  
Public MethodSetCustomPropertySets a custom property on the task.  
Public MethodSetDurationSets the value of the Duration property.  
Public MethodSetSummaryDurationFormatSets the format used to depict this task's Duration when it is a summary task.  
Public MethodShouldSerializeReturns a boolean value indicating whether this object requires serialization.  
Public MethodShouldSerializeCustomPropertiesReturns true if any custom property has been set to something other than the default; otherwise false.  
Public MethodShouldSerializeCustomPropertyReturns true if the custom property has been set to something other than the default; otherwise false.  
Public MethodShouldSerializeTag (Inherited from Infragistics.Shared.SubObjectBase)
Public MethodToStringReturns the string representation of this object.  
Public MethodVerifyNotDisposed (Inherited from Infragistics.Shared.DisposableObject)
Protected Methods
 NameDescription
Protected MethodDeserializeTagOverloaded.  (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodGetObjectDataSerialization helper method.  
Protected MethodInitializeTag (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnDisposeOverridden. Releases resources used by this object.  
Protected MethodOnObjectPropChangedOverridden. Called when a property of this object changes.  
Protected MethodOnSubObjectPropChangedOverridden. Called when a property value changes on a sub-object.  
Protected MethodResetAllowedUIActionsRestores the AllowedUIActions property to its default value.  
Protected MethodResetConstraintDateTimeRestores the Constraint property to its default value.  
Protected MethodResetDeadlineRestores the Deadline property to its default value.  
Protected MethodResetDependenciesRestores the Dependencies property to its default value.  
Protected MethodResetDurationRestores the Duration property to its default value.  
Protected MethodResetExpandedRestores the Expanded property to its default value.  
Protected MethodResetMilestoneRestores the Milestone property to its default value.  
Protected MethodResetNameRestores the Name property to its default value.  
Protected MethodResetNotesRestores the Notes property to its default value.  
Protected MethodResetPercentCompleteRestores the PercentComplete property to its default value.  
Protected MethodResetResourcesRestores the Resources property to its default value.  
Protected MethodResetRowHeightRestores the RowHeight property to its default value.  
Protected MethodResetStartDateTimeRestores the StartDateTime property to its default value.  
Protected MethodResetTag (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodResetTasksRestores the Tasks property to its default value.  
Protected MethodSerializeTagOverloaded.  (Inherited from Infragistics.Shared.SubObjectBase)
See Also