Functions.CreateObject 方法 | |
Creates an object from a class definition or an Automation-enabled application.
命名空间:
XSharp.VFP
程序集:
XSharp.VFP (在 XSharp.VFP.dll 中) 版本:2.22 GA
语法 FUNCTION CreateObject(
cClassName,
_args
) AS Object CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public static Object CreateObject(
__Usual cClassName = default,
__Usual _args = default
)
查看代码参数
- cClassName (Optional)
- 类型:__Usual
Specifies the class or OLE object from which the new object is created. - _args (Optional)
- 类型:__Usual
These optional parameters are used to pass values to the Init event procedure for the class.
The Init event is executed when you issue CREATEOBJECT( ) and allows you to initialize the object.
返回值
类型:
ObjectThe object that was created
参见