Partilhar via


CommaTextIo.newmethod Method

Definition

Overloads

newmethod(String, String)

Initializes a new instance of the Object class.

newmethod(String, String, Int32)

newmethod(String, String)

Initializes a new instance of the Object class.

public:
 override void newmethod(System::String ^ text1, System::String ^ text2);
public override void newmethod (string text1, string text2);
override this.newmethod : string * string -> unit
Public Overrides Sub newmethod (text1 As String, text2 As String)

Parameters

text1
String
text2
String

Remarks

If an attacker can control input to the new method, a security risk exists. Therefore, this method runs under Code Access Security. Calls to this method on the server require permission from the FileIOPermission class. Make sure that the user has development privileges by setting the security key to SysDevelopment on the control that calls this method.

Applies to

newmethod(String, String, Int32)

public:
 void newmethod(System::String ^ _filename, System::String ^ _mode, int _codepage);
public void newmethod (string _filename, string _mode, int _codepage);
override this.newmethod : string * string * int -> unit
Public Sub newmethod (_filename As String, _mode As String, _codepage As Integer)

Parameters

_filename
String
_mode
String
_codepage
Int32

Applies to