Attach physical file to the item. Calling the method means that the physical will be streamed to the server
when apply() is called on the item.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 11.0.0.6296
Syntax
C# |
---|
public void attachPhysicalFile(
string filePath
) |
Visual Basic (Declaration) |
---|
Public Sub attachPhysicalFile ( _
filePath As String _
) |
J# |
---|
public void attachPhysicalFile(
String filePath
) |
JScript |
---|
public function attachPhysicalFile(
filePath : String
) |
Parameters
- filePath
- Type: System..::.String
Path to the physical file.
Remarks
Exceptions
Exception | Condition |
---|
System..::.Exception |
-
The instance doesn't represent a single item.
-
Item is not of type 'File'.
-
Item doesn't have ID set.
-
Failed to obtain user's default vault ID.
|
System..::.ArgumentException | Specified file was not found. |
See Also