Skip to content

7838adce d355 c09c 748e 944db6429076

AnyOldName3 edited this page Apr 12, 2017 · 1 revision

WritableSource.SetLength Method

Sets the length of the file.

Namespace: LVFS.External
Assembly: LVFS (in LVFS.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public abstract NtStatus SetLength(
	string path,
	long length,
	LVFSContextInfo info
)

VB

Public MustOverride Function SetLength ( 
	path As String,
	length As Long,
	info As LVFSContextInfo
) As NtStatus

C++

public:
virtual NtStatus SetLength(
	String^ path, 
	long long length, 
	LVFSContextInfo^ info
) abstract

F#

abstract SetLength : 
        path : string * 
        length : int64 * 
        info : LVFSContextInfo -> NtStatus 

Parameters

 

path
Type: System.String
The path to the file
length
Type: System.Int64
The new length of the file
info
Type: LVFS.External.LVFSContextInfo
Information concerning the context of this operation

Return Value

Type: NtStatus
Success if the requested length is now the length of the file. If not, an appropriate error status.

See Also

Reference

WritableSource Class
LVFS.External Namespace

Clone this wiki locally