Encoding Property

NAnt SDK Documentation - v0.92 |

# LoadFileTask.Encoding Property

The encoding to use when loading the file. The default is the encoding associated with the system's current ANSI code page.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="encoding", ExpandProperties:=True, ProcessXml:=True)>
Public Property Encoding As Encoding
[C#]
[TaskAttribute(Required=False, Name="encoding", ExpandProperties=True, ProcessXml=True)]
public System.Text.Encoding Encoding {get; set;}

#### See Also

LoadFileTask Class | NAnt.Core.Tasks Namespace