Sets the value of the Content Engine property represented by this Property object to the specified Object.
  • Boolean (PropertyBoolean value)
  • byte (PropertyBinary value)
  • Date (PropertyDateTime value)
  • Double (PropertyFloat64 value)
  • Id (PropertyId value)
  • Integer (PropertyInteger32 value)
  • String (PropertyString value)
  • InputStream (PropertyContent value)
  • EngineObject (PropertyEngineObject value)
  • ObjectReference (PropertyEngineObject value)
  • BinaryList (PropertyBinaryList value)
  • BooleanList (PropertyBooleanList value)
  • DateTimeList (PropertyDateTimeList value)
  • DependentObjectList (PropertyDependentObjectList value)
  • Float64List (PropertyFloat64List value)
  • IdList (PropertyIdList value)
  • IndependentObjectSet (PropertyIndependentObjectSet value)
  • Integer32List (PropertyInteger32List value)
  • StringList (PropertyStringList value)

Namespace:  FileNet.Api.Property
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Sub SetObjectValue ( _
	val As Object _
)
C#
void SetObjectValue(
	Object val
)
Visual C++
void SetObjectValue(
	Object^ val
)
JavaScript
function setObjectValue(val);

Parameters

val
Type: System..::.Object
An Object specifying the new property value. Only the following Object subclasses are allowed; each of which corresponds to the data type that a property represented by a particular Property object type can hold:

ToggleExceptions

ExceptionCondition
ExceptionCode..::.API_UNSUPPORTED_PROPERTY_TYPE Thrown if val specifies a Null or an invalid Object type.
ExceptionCode..::.E_READ_ONLY Thrown if an attempt is made to update a property that is not settable (its Property.IsSettable method returns False).

ToggleSee Also