PreGetPropertyValues Method
This method is called to retrieve the values for any property definitions before we call the server. This can be used to provide values for Custom Property Definitions, or in cases where the value can be pulled directly off of the entity object and thus there is no reason to ask the server (ie. a FileIteration entity object already knows it's name, so there is no need to ask the server for the FileName property value)
Syntax
void PreGetPropertyValues(
Connection vltConn,
System.Collections.Generic.IEnumerable<IEntity> entities,
PropertyDefinitionDictionary propDefs,
PropertyValues resultValues,
PropertyValueSettings settings
)Sub PreGetPropertyValues( _
ByVal vltConn As Connection, _
ByVal entities As System.Collections.Generic.IEnumerable(Of IEntity), _
ByVal propDefs As PropertyDefinitionDictionary, _
ByVal resultValues As PropertyValues, _
ByVal settings As PropertyValueSettings _
) Parameters
| Name | Description |
|---|---|
| vltConn | A connection to a vault server |
| entities | The list of entity objects (ie. FileIterations, ItemRevisions) that we are retrieving values for |
| propDefs | The list of propdefs that we are retrieving values for. |
| resultValues | The results object to store any valued computed in the implementation of this method. This also contains any values already computed by other providers. |
| settings | Optional settings which configure how some property values should be computed. |