MindFusion.Scheduling for Silverlight Programmer's Guide
IProjectViewModel.DoRemoveResourceAllocation Method
See Also
 





Removes the specified resource allocation from the project.

Namespace: MindFusion.DataViews.Silverlight
Assembly: MindFusion.DataViews.Silverlight

 Syntax

C#  Copy Code

public abstract void DoRemoveResourceAllocation (
    IResourceAllocationViewModel allocation,
    out int activityIndex,
    out int resourceIndex
)

Visual Basic  Copy Code

Public MustOverride Sub DoRemoveResourceAllocation ( _
    allocation As IResourceAllocationViewModel, _
    <System.Runtime.InteropServices.Out()> ByRef activityIndex As Integer, _
    <System.Runtime.InteropServices.Out()> ByRef resourceIndex As Integer _
)

 Parameters

allocation
The allocation to remove.
activityIndex
The 0-based index of the removed resource allocation within its containing activity's collection.
resourceIndex

The 0-based index of the removed resource allocation within its containing resource's collection.

 Remarks

This method is not subject to undo/redo and should not be invoked directly. If you need to remove a resource allocation from the model, call RemoveResourceAllocation.

 See Also

IProjectViewModel Members
IProjectViewModel Interface
MindFusion.DataViews.Silverlight Namespace