Share via


HardTotals.Find Method (POS for .NET v1.14 SDK Documentation)

3/2/2014

Locates an existing totals file.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Function Find ( _
    fileName As String _
) As TotalsFileInfo
public abstract TotalsFileInfo Find (
    string fileName
)
public:
virtual TotalsFileInfo Find (
    String^ fileName
) abstract
public abstract TotalsFileInfo Find (
    String fileName
)
public abstract function Find (
    fileName : String
) : TotalsFileInfo

Parameters

  • fileName
    The name of the totals file to be located.

Remarks

Find returns a TotalsFileInfo structure, and may cause a PosControlException to be thrown with one of the following ErrorCodes:

Value

Meaning

Claimed

Cannot find the file because the entire totals file area is claimed by another application.

Illegal

The fileName is too long or contains invalid characters.

NoExist

fileName was not found.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

HardTotals Class
HardTotals Members
Microsoft.PointOfService Namespace
HardTotals.Create Method
HardTotals.Delete Method
Rename