Web API Core | ComponentOne
C1.Web.Api Namespace / FormFile Class / FormFile Constructor
The file stream
The file extension

In This Topic
    FormFile Constructor
    In This Topic
    Create a FormFile with specified stream and file extension.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal stream As Stream, _
       ByVal extension As String _
    )
    public FormFile( 
       Stream stream,
       string extension
    )

    Parameters

    stream
    The file stream
    extension
    The file extension
    See Also