The IDLnetURL::Init function method initializes an IDLnetURL object.

Note: Init methods are special lifecycle methods, and as such cannot be called outside the context of object creation. This means that in most cases, you cannot call the Init method directly. There is one exception to this rule: If you write your own subclass of this class, you can call the Init method from within the Init method of the subclass.

Syntax


obj =OBJ_NEW(‘IDLnetURL’)

or

Obj->[IDLnetURL::]Init([, PROPERTY=value] ) (In a lifecycle method only.)

Return Value


When this method is called indirectly, as part of the call to the OBJ_NEW function, the return value is an object reference to the newly-created object. When called directly within a subclass Init method, the return value is 1 if initialization is successful, and zero if not.

Arguments


None.

Keywords


Any property listed under IDLnetURL Properties that contains the word “Yes” in the “Init” row of the Properties table can be initialized during object creation using this method. To initialize the value of a property, specify the property name as a keyword and set it equal to the appropriate property value.

Version History


6.4

Introduced