Share via


Init Method

Applies to: SharePoint Foundation 2010

Initializes the WPSC Object.

objWPSC.Init(objDOM)

Parameters

Parameter

Description

objWPSC  

A reference to a WPSC Object.

objDOM  

A reference to the DOMObject Property of the Web Part Page.

Remarks

This method is used internally by the Web Part infrastructure and is not intended to be used directly from your code.

Example 1: Microsoft Visual Basic Scripting Edition

Code

WPSC.Init(document)

Example 2: Microsoft JScript

Code

WPSC.Init(document);

Requirements

Applies to: WPSC Object

See Also

Other Resources

Web Part Page Services Component (WPSC) Object Model