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.DocumentCodeClass

Class that is currently being edited. This must be overriden by subclasses. Note that you should always get the editing class from the source file; never cache it. As the source file changes you do not know if the underlying implemenation will keep the class instances in sync with the file.

[Visual Basic]
MustOverride Protected ReadOnly Property DocumentCodeClass As _
   ICodeClass
[C#]
protected ICodeClass DocumentCodeClass {abstract get;}
[C++]
protected: __property virtual ICodeClass* get_DocumentCodeClass() =
   0;
[JScript]
protected abstract function get DocumentCodeClass() : ICodeClass;

Property Value

An ICodeClass that indicates the type of the main class this persister is editing.

See Also

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