Use the C++ API to determine if a file will be ignored

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)

Syntax

C#
public static bool IsIgnored(
	string path
)
Visual Basic
Public Shared Function IsIgnored ( _
	path As String _
) As Boolean
Visual C++
public:
static bool IsIgnored(
	String^ path
)

Parameters

path
Type: System..::..String
The local path of the file

Return Value

true if the file will be ignored

See Also