ActivityCollection.ICollection<Activity>.Add(Activity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
virtual void System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Add(System::Workflow::ComponentModel::Activity ^ item) = System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^>::Add;
void ICollection<Activity>.Add (System.Workflow.ComponentModel.Activity item);
abstract member System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Add : System.Workflow.ComponentModel.Activity -> unit
override this.System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Add : System.Workflow.ComponentModel.Activity -> unit
Sub Add (item As Activity) Implements ICollection(Of Activity).Add
Parameters
Implements
Remarks
Raises an exception with the error message "Error_InvalidListItem" if the Object is not of type Activity.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.