Name

AxHost.State

Synopsis

This opaque class encapsulates the state of an ActiveX control in persistence scenarios. You can retrieve the state using the AxHost.OcxState property, although more normally it would be read from or written to a stream.


public class AxHost.State : System.Runtime.Serialization.ISerializable {

// Public Constructors

   public AxHost.State(System.IO.Stream ms, int storageType, bool manualUpdate, string licKey);

}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.