Lucene.Net 1.4.3 Class Library

RAMDirectory.CreateFile Method 

Creates a new, empty file in the directory with the given name. Returns a stream writing this file.

public override OutputStream CreateFile(
   string name
);

See Also

RAMDirectory Class | Lucene.Net.Store Namespace