IServicesApi.DeleteFile Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Api
Assembly: Microsoft.OneGet (in Microsoft.OneGet.dll)

Usage

'Usage
Dim instance As IServicesApi
Dim filename As String
Dim requestImpl As Object

instance.DeleteFile(filename, requestImpl)

Syntax

'Declaration
Sub DeleteFile ( _
    filename As String, _
    requestImpl As Object _
)
void DeleteFile (
    string filename,
    Object requestImpl
)
void DeleteFile (
    String^ filename, 
    Object^ requestImpl
)
void DeleteFile (
    String filename, 
    Object requestImpl
)
function DeleteFile (
    filename : String, 
    requestImpl : Object
)

Parameters

  • filename
  • requestImpl

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

IServicesApi Interface
IServicesApi Members
Microsoft.OneGet.Api Namespace