Request.DeleteFile Method
This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.OneGet.MetaProvider.PowerShell
Assembly: Microsoft.OneGet.MetaProvider.PowerShell (in Microsoft.OneGet.MetaProvider.PowerShell.dll)
Usage
'Usage
Dim instance As Request
Dim filename As String
Dim requestImpl As MarshalByRefObject
instance.DeleteFile(filename, requestImpl)
Syntax
'Declaration
Public MustOverride Sub DeleteFile ( _
filename As String, _
requestImpl As MarshalByRefObject _
)
public abstract void DeleteFile (
string filename,
MarshalByRefObject requestImpl
)
public:
virtual void DeleteFile (
String^ filename,
MarshalByRefObject^ requestImpl
) abstract
public abstract void DeleteFile (
String filename,
MarshalByRefObject requestImpl
)
public abstract function DeleteFile (
filename : String,
requestImpl : MarshalByRefObject
)
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
Request Class
Request Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace