NAnt SDK Documentation - v0.92 |

# DataTypeCollectionBase.ValidateType Method

Used by methods that take Object instances as argument to verify whether the instance is valid for the collection class.

[Visual Basic]
Protected Sub ValidateType( _
ByVal value As Object _
)
[C#]
protected void ValidateType(
object value
);

#### Parameters

value
  The instance to verify.

#### See Also

DataTypeCollectionBase Class | NAnt.DotNet.Types Namespace