File.CreateNewFile Method

Create a new file This is different to a copy - while you can use this to create a file from another one, this operation performs advanced document management operations, such as filling out attribute placeholders
Public Shared Function CreateNewFile( _ 
ByVal parameters As NewFileParameters, _ 
Optional ByVal waiter As IASyncWait = null _ 
) As DataOperationResponse(Of FileInfo)
This language is not supported or no code example is available.
public static DataOperationResponse<FileInfo> CreateNewFile( 
NewFileParameters parameters
IASyncWait waiter = null 
)
This language is not supported or no code example is available.
public:  
static DataOperationResponse<FileInfo^>^ CreateNewFile( 
NewFileParameters^ parameters
IASyncWait^ waiter 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

parameters
NewFileParameters

any parameters for the new file

waiter
IASyncWait

Return Value

DataOperationResponse<FileInfo>

the file info, in a response object

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition