Fetches from server default values for all properties of the item's ItemType and sets them on the item.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 11.0.0.6296
Syntax
C# |
---|
public Item fetchDefaultPropertyValues(
bool overwrite_current
) |
Visual Basic (Declaration) |
---|
Public Function fetchDefaultPropertyValues ( _
overwrite_current As Boolean _
) As Item |
J# |
---|
public Item fetchDefaultPropertyValues(
boolean overwrite_current
) |
JScript |
---|
public function fetchDefaultPropertyValues(
overwrite_current : boolean
) : Item |
Parameters
- overwrite_current
- Type: System..::.Boolean
If 'true', overwrite existing property values.
Return Value
If fetching failed, returns "error" item that contains information about the failure. Otherwise, returns
this with set property values.
Remarks
Exceptions
Exception | Condition |
---|
System..::.Exception |
-
The instance doesn't represent a single item.
-
The item doesn't have attribute 'type' set.
|
See Also