NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CodePersister.Init

Initializes this persister with the specified host and sourceFile.

[Visual Basic]
Overridable Public Sub Init( _
   ByVal sourceFile As ICodeSourceFile, _
   ByVal host As IDesignerHost _
)
[C#]
public virtual void Init(
   ICodeSourceFile sourceFile,
   IDesignerHost host
);
[C++]
public: virtual void Init(
   ICodeSourceFile* sourceFile,
   IDesignerHost* host
);
[JScript]
public function Init(
   sourceFile : ICodeSourceFile,
   host : IDesignerHost
);

Parameters

sourceFile
Source code that this persister should read/write to.
host
IDesignerHost that this persister should communicate with.

See Also

CodePersister Class | CodePersister Members | System.ComponentModel.Design Namespace