All Frameworks  Object Hierarchy  This Framework  Indexes   

Resources (Collection)

The collection of resources related to the current activity.

Method Index

AddByAssignmentType
This method Assigns/Adds the specified resource with the specified assignment type
Add
This method add the specified item in the current list
Item
This method returns the idl object Resource for the specified resource identifier.
RemoveByAssignmentType
This method Unassigns/Removes the specified resource if the assignement exists and is of the given type

Methods


o Func AddByAssignmentType( iResource,
iAssignmentType) As
This method Assigns/Adds the specified resource with the specified assignment type
Parameters:
iResource
The resource to be assigned
iAssignmentType
Type of the Assignment (Resource to the Process). Only the following four types are supported at the moment: Process_Uses_Resource, Process_Runs_On_Resource, Process_Attaches_Resource, Process_Detaches_Resource
Returns:
oResource The resource when Add succeeds, unchanged otherwise
o Func Add( iResource) As
This method add the specified item in the current list
Parameters:
iItem
The item to add
Returns:
oitem The item
o Func Item( iIndex) As
This method returns the idl object Resource for the specified resource identifier.
Parameters:
iIndex
The resource identifier
Returns:
oResource The idl resource
o Func RemoveByAssignmentType( iResource,
iAssignmentType) As
This method Unassigns/Removes the specified resource if the assignement exists and is of the given type
Parameters:
iResource
The resource to be Unassigned
iAssignmentType
Type of the Assignment (Resource to the Process) to be removed
Returns:
oResource The resource when Remove succeeds, unchanged otherwise

Copyright © 2003, Dassault Systèmes. All rights reserved.