AxHost Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the AxHost class.
Overloads
AxHost(String) |
Initializes a new instance of the AxHost class, wrapping the ActiveX control indicated by the specified CLSID. |
AxHost(String, Int32) |
Initializes a new instance of the AxHost class, wrapping the ActiveX control indicated by the specified CLSID, and using the shortcut-menu behavior indicated by the specified |
AxHost(String)
Initializes a new instance of the AxHost class, wrapping the ActiveX control indicated by the specified CLSID.
protected:
AxHost(System::String ^ clsid);
protected AxHost (string clsid);
new System.Windows.Forms.AxHost : string -> System.Windows.Forms.AxHost
Protected Sub New (clsid As String)
Parameters
- clsid
- String
The CLSID of the ActiveX control to wrap.
Applies to
AxHost(String, Int32)
Initializes a new instance of the AxHost class, wrapping the ActiveX control indicated by the specified CLSID, and using the shortcut-menu behavior indicated by the specified flags
value.
protected:
AxHost(System::String ^ clsid, int flags);
protected AxHost (string clsid, int flags);
new System.Windows.Forms.AxHost : string * int -> System.Windows.Forms.AxHost
Protected Sub New (clsid As String, flags As Integer)
Parameters
- clsid
- String
The CLSID of the ActiveX control to wrap.
Remarks
If the binary representation of the flags
parameter value contains the bit represented by the value 0x1, the shortcut menu for the control will not contain an Edit option unless the ActiveX control explicitly provides it.
If the binary representation of the flags
parameter value contains the bit represented by the value 0x2, the shortcut menu for the control will contain a Properties option if the ActiveX control offers a set of property pages; otherwise, the shortcut menu will contain a Properties option only if the ActiveX control explicitly provides it.
Applies to
Atsauksmes
https://aka.ms/ContentUserFeedback.
Drīzumā: 2024. gada laikā mēs pakāpeniski pārtrauksim izmantot “GitHub problēmas” kā atsauksmju par saturu mehānismu un aizstāsim to ar jaunu atsauksmju sistēmu. Papildinformāciju skatiet:Iesniegt un skatīt atsauksmes par