DIFsrmClassificationEvents.OnFile Method (String, Int32, String, IFsrmCollection)
Receives properties of files that are returned in a call to ClassifyFiles.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
bool OnFile(
string filePath,
int result,
string fileMessages,
IFsrmCollection fileProperties
)
bool OnFile(
String^ filePath,
int result,
String^ fileMessages,
IFsrmCollection^ fileProperties
)
abstract OnFile :
filePath:string *
result:int *
fileMessages:string *
fileProperties:IFsrmCollection -> bool
Function OnFile (
filePath As String,
result As Integer,
fileMessages As String,
fileProperties As IFsrmCollection
) As Boolean
Parameters
filePath
Type: System.StringThe absolute path of the file.
result
Type: System.Int32Return value for the specific file. If this value is an error code then the fileProperties parameter may be NULL.
fileMessages
Type: System.StringMessage specific to any error.
fileProperties
Type: Microsoft.Storage.IFsrmCollectionAn IFsrmCollection that contains the set of properties set on the file.
Return Value
Type: System.Boolean
Returns a Boolean value that is TRUE if there were no errors processing the event and FALSE otherwise.
See Also
DIFsrmClassificationEvents Interface
Microsoft.Storage Namespace
Return to top