Returns the database fields for an object from the collection using a distinct value (see IDatabaseObjects.DistinctFieldName). If the collection has implemented the IDatabaseObjects.Subset function then the objDistinctValue need only be unique within the collection's subset, not the entire database table. This is typically used to interogate the database fields before loading the object with a call to ObjectFromFieldValues. This function is rarely used and generally the Object function suffices.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
public SQLFieldValues ObjectFieldValues(
	IDatabaseObjects objCollection,
	Object objDistinctValue
)
Visual Basic
Public Function ObjectFieldValues ( _
	objCollection As IDatabaseObjects, _
	objDistinctValue As Object _
) As SQLFieldValues
Visual C++
public:
SQLFieldValues^ ObjectFieldValues(
	IDatabaseObjects^ objCollection, 
	Object^ objDistinctValue
)

Parameters

objCollection
Type: DatabaseObjects..::..IDatabaseObjects
The collection that contains the object.
objDistinctValue
Type: System..::..Object
The value that uniquely identifies the object within the collection. This is the value of the field defined by the collection's IDatabaseObjects.DistinctFieldName function.

Return Value

IDatabaseObject (DatabaseObjects.IDatabaseObject)

See Also