A Sandcastle Documented Class Library

# FileController CopyFile Method

POST /File/Copy/{id} Copies the file with the specified ID.

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpPostAttribute]
    [ActionNameAttribute("Copy")]
    public IActionResult CopyFile(
    	Guid id,
    	[FromBodyAttribute] CopyEntryOptions options,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("Copy")>
    Public Function CopyFile (
    	id As Guid,
    	<FromBodyAttribute> options As CopyEntryOptions,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"Copy")]
    IActionResult^ CopyFile(
    	Guid id,
    	[FromBodyAttribute] CopyEntryOptions^ options,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("Copy")>]
    member CopyFile :
            id : Guid *
            [<FromBodyAttribute>] options : CopyEntryOptions *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

id
  Type: System
  Guid
  The ID of the file to move.
options
  Type: Dundas.BI.WebApi.Models
  CopyEntryOptions
  The options for copying this file.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  ID of the current session.

#### Return Value

Type: IActionResult
The ID of the file to copy.
See Also

#### Reference

FileController Class
Dundas.BI.WebApi.Controllers Namespace