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!

ComponentModelPersister.Init

Initializes this persister with the specified host and sourceFile.

[Visual Basic]
Overrides Public Sub Init( _
   ByVal sourceFile As ICodeSourceFile, _
   ByVal host As IDesignerHost _
)
[C#]
public override void Init(
   ICodeSourceFile sourceFile,
   IDesignerHost host
);
[C++]
public: override void Init(
   ICodeSourceFile* sourceFile,
   IDesignerHost* host
);
[JScript]
public override 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

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