IFileReference

Ecng.Compilation

Provides an abstraction for retrieving file content as a string.

方法

GetFileBody
public string GetFileBody()
result = iFileReference.GetFileBody()

Retrieves the body of the file as a string.

返回值: A string representing the contents of the file.