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!

AxHost.ShouldPersistContainingForm

Determines whether to persist the ContainingForm property.

[Visual Basic]
Overridable Public Function ShouldPersistContainingForm() As Boolean
[C#]
public virtual bool ShouldPersistContainingForm();
[C++]
public: virtual bool ShouldPersistContainingForm();
[JScript]
public function ShouldPersistContainingForm() : Boolean;

Return Value

true only is the containing form is different from the parent form.

See Also

AxHost Class | AxHost Members | System.WinForms Namespace