NAnt SDK Documentation - v0.92 |

# CopyTask.FileOperationMap.CountDirectoryOperations Method

Counts the number of directory operations in a collection.

[Visual Basic]
Public Function CountDirectoryOperations() As Integer
[C#]
public int CountDirectoryOperations();

#### Return Value

The number of directory operations performed by this collection.

#### See Also

CopyTask.FileOperationMap Class | NAnt.Core.Tasks Namespace