Locates a property by name in this Properties collection and returns the value it holds. If the property holds a reference object (Property.PropertyState = REFERENCE) or or is unevaluated (Property.PropertyState = UNEVALUATED), a round-trip is made to the server to fetch its value.


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

Syntax

Visual Basic (Declaration)
Function GetObjectValue( _ 
   ByVal propertyName As String _ 
) As Object
C#
object GetObjectValue(
   string propertyName
)
C++
Object GetObjectValue(
   String propertyName
) abstract 
J#
object GetObjectValue(
   string propertyName
)
JScript
function GetObjectValue(
   propertyName : String
) : Object

Parameters

propertyName
A String specifying a property name.

Return Value

An Object specifying the value of the property. If the property's value cannot be retrieved, an EngineRuntimeException object will be returned.

Exceptions

Exception TypeCondition
EngineRuntimeException Thrown if the property cannot be found in the collection or a retrieval error has occurred (Property.PropertyState = RETRIEVAL_ERROR).

See Also