BinData.loadFile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
loadFile(String) | |
loadFile(String, Int32) | |
loadFile(String, Int32, Int32) |
loadFile(String)
public:
virtual bool loadFile(System::String ^ text1);
public virtual bool loadFile (string text1);
abstract member loadFile : string -> bool
override this.loadFile : string -> bool
Public Overridable Function loadFile (text1 As String) As Boolean
Parameters
- text1
- String
Returns
Remarks
If an attacker can control input to the loadFile method, a security risk exists. Therefore, this method runs under Code Access Security. Calls to this method on the server require permission. Make sure that the user has development privileges by setting the security key to SysDevelopment on the control that calls this method.
Applies to
loadFile(String, Int32)
public:
virtual bool loadFile(System::String ^ text1, int num1);
public virtual bool loadFile (string text1, int num1);
abstract member loadFile : string * int -> bool
override this.loadFile : string * int -> bool
Public Overridable Function loadFile (text1 As String, num1 As Integer) As Boolean
Parameters
- text1
- String
- num1
- Int32
Returns
Applies to
loadFile(String, Int32, Int32)
public:
virtual bool loadFile(System::String ^ _filename, int _offset, int _length);
public virtual bool loadFile (string _filename, int _offset, int _length);
abstract member loadFile : string * int * int -> bool
override this.loadFile : string * int * int -> bool
Public Overridable Function loadFile (_filename As String, _offset As Integer, _length As Integer) As Boolean
Parameters
- _filename
- String
- _offset
- Int32
- _length
- Int32