dotnet::__construct

(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)

dotnet::__constructdotnet class constructor

说明

public dotnet::__construct(string $assembly_name, string $datatype_name, int $codepage = CP_ACP)

Constructs a new dotnet object.

参数

assembly_name
Specifies which assembly should be loaded.
datatype_name
Specifices which class in that assembly to instantiate.
codepage
Codepage to use for unicode string transformations; see the com class for more details on code pages.