Class IOModule
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class IOModule : TypeModule, TypePlugin, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
IOModule
- Implements
- Inherited Members
Constructors
IOModule(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public IOModule(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
IOModule(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected IOModule(CreationData data)
Parameters
dataCreationData
IOModule(IOModuleHandle)
protected IOModule(IOModuleHandle handle)
Parameters
handleIOModuleHandle
Methods
CompleteInterfaceInfo(Type, Type, InterfaceInfo)
public void CompleteInterfaceInfo(Type instanceType, Type interfaceType, InterfaceInfo info)
Parameters
instanceTypeTypeinterfaceTypeTypeinfoInterfaceInfo
CompleteTypeInfo(Type, TypeInfo, TypeValueTable)
public void CompleteTypeInfo(Type gType, TypeInfo info, TypeValueTable valueTable)
Parameters
gTypeTypeinfoTypeInfovalueTableTypeValueTable
GetGType()
public static Type GetGType()
Returns
Load()
public void Load()
New(string)
public static IOModule New(string filename)
Parameters
filenamestring
Returns
NewFromPointer(nint, bool)
Creates a new managed IOModule instance for a given pointer.
public static IOModule NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new IOModule and sets the properties specified by the construct arguments.
public static IOModule NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Query()
[Version("2.24")]
public static string[] Query()
Returns
- string[]
Unload()
public void Unload()