summaryM:DotNetNuke.Common.Utilities.FileSystemUtils.GetFileContent(DotNetNuke.Services.FileSystem.FileInfo,System.Int32,System.String)

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("This function has been replaced by GetFileContent(FileInfo)")]
public static byte[] GetFileContent(
	FileInfo file,
	int PortalId,
	string HomeDirectory
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Never)> 
<ObsoleteAttribute("This function has been replaced by GetFileContent(FileInfo)")> 
Public Shared Function GetFileContent ( 
	file As FileInfo,
	PortalId As Integer,
	HomeDirectory As String
) As Byte()

Parameters

file
Type: DotNetNuke.Services.FileSystem..::..FileInfo
paramfileM:DotNetNuke.Common.Utilities.FileSystemUtils.GetFileContent(DotNetNuke.Services.FileSystem.FileInfo,System.Int32,System.String)
PortalId
Type: System..::..Int32
paramPortalIdM:DotNetNuke.Common.Utilities.FileSystemUtils.GetFileContent(DotNetNuke.Services.FileSystem.FileInfo,System.Int32,System.String)
HomeDirectory
Type: System..::..String
paramHomeDirectoryM:DotNetNuke.Common.Utilities.FileSystemUtils.GetFileContent(DotNetNuke.Services.FileSystem.FileInfo,System.Int32,System.String)

Return Value

returnsM:DotNetNuke.Common.Utilities.FileSystemUtils.GetFileContent(DotNetNuke.Services.FileSystem.FileInfo,System.Int32,System.String)

See Also