Compartir a través de


DiskDataStore.WriteFile Method

Definition

Overloads

WriteFile(String, Byte[])
WriteFile(String, String)
WriteFile(String, String, Encoding)

WriteFile(String, Byte[])

public void WriteFile (string path, byte[] contents);
abstract member WriteFile : string * byte[] -> unit
override this.WriteFile : string * byte[] -> unit
Public Sub WriteFile (path As String, contents As Byte())

Parameters

path
String
contents
Byte[]

Implements

Applies to

WriteFile(String, String)

public void WriteFile (string path, string contents);
abstract member WriteFile : string * string -> unit
override this.WriteFile : string * string -> unit
Public Sub WriteFile (path As String, contents As String)

Parameters

path
String
contents
String

Implements

Applies to

WriteFile(String, String, Encoding)

public void WriteFile (string path, string contents, System.Text.Encoding encoding);
abstract member WriteFile : string * string * System.Text.Encoding -> unit
override this.WriteFile : string * string * System.Text.Encoding -> unit
Public Sub WriteFile (path As String, contents As String, encoding As Encoding)

Parameters

path
String
contents
String
encoding
Encoding

Implements

Applies to