dotnet::__construct
(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)
dotnet::__construct — dotnet 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.