AssignFileToItem Method
Assign a file to an item revision
Syntax
public Item AssignFileToItem(
System.long itemRevId,
System.long fileId
)Public Function AssignFileToItem( _
ByVal itemRevId As System.Long, _
ByVal fileId As System.Long _
) As ItemParameters
| Name | Description |
|---|---|
| itemRevId | The revision id of the item to assign to |
| fileId | The id of the file to link the item to |
Return Value
Either an uncommitted or committed item depending on the type of link created
Remarks
If a primary link was created the client should update the item and then commit it. If the returned item is uncommitted the client can either commit the change or undo the change.