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)

Syntax

Visual Basic (Declaration)
Sub SetObjectValue( _ 
   ByVal val As Object _ 
)
C#
void SetObjectValue(
   object val
)
C++
void SetObjectValue(
   Object val
) abstract 
J#
void SetObjectValue(
   object val
)
JScript
function SetObjectValue(
   val : Object
)

Parameters

val
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:

Exceptions

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

See Also