ReposProperty ReadFromFile Method
This method sets a binary large object (BLOB) or large text field property value to the contents of a file. This method does not support the CurrentPosition property. If content exists within the BLOB or large text field, the ReadFromFile method will overwrite it.
This method is not attached to the default interface for the repository Automation object; it is attached to the IReposPropertyLarge interface. For more information about accessing a member of an interface that is not the default interface, see Accessing Automation Object Members.
Syntax
Call object.ReadFromFile(BSTR filename)
The ReadFromFile method syntax has the following parts.
Part | Description |
---|---|
object | An object expression that evaluates to a ReposProperty object |
BSTR filename | The fully qualified path and file name that provides content to the BLOB or large text field |
Remarks
After you read data, you can use the Close method to release memory and resources.