ItemfetchDefaultPropertyValues Method |
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: 14.0.9.36244
Syntaxpublic Item fetchDefaultPropertyValues(
bool overwrite_current
)
Public Function fetchDefaultPropertyValues (
overwrite_current As Boolean
) As Item
public Item fetchDefaultPropertyValues(
boolean overwrite_current
)
public function fetchDefaultPropertyValues(
overwrite_current : boolean
) : Item
Parameters
- overwrite_current
- Type: SystemBoolean
If 'true', overwrite existing property values.
Return Value
Type:
Item
If fetching failed, returns "error" item that contains information about the failure. Otherwise, returns
this with set property values.
ExceptionsException | Condition |
---|
Exception | -
The instance doesn't represent a single item.
-
The item doesn't have attribute 'type' set.
|
Remarks
If a property doesn't have a default value, the property is not set.
See Also