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

Determines whether to persist the OcxState property.

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

Return Value

true if the ocxState should be persisted.

See Also

AxHost Class | AxHost Members | System.WinForms Namespace