NAnt SDK Documentation - v0.92 |

# CopyTask.FileOperationMap.ContainsKey Method

Determines whether the CopyTask.FileOperationMap contains the specified key.

[Visual Basic]
Public Function ContainsKey( _
ByVal key As String _
) As Boolean
[C#]
public bool ContainsKey(
string key
);

#### Parameters

key
  The key to locate in the CopyTask.FileOperationMap.

#### Return Value

`true` if the CopyTask.FileOperationMap contains an element with the specified key; otherwise, `false`.

#### See Also

CopyTask.FileOperationMap Class | NAnt.Core.Tasks Namespace