mscorlib(4.0.0.0) API with additions
|
Classes | |
interface | _Activator |
Exposes the T:System.Activator class to unmanaged code. More... | |
interface | _Assembly |
Exposes the public members of the T:System.Reflection.Assembly class to unmanaged code. More... | |
interface | _AssemblyBuilder |
Exposes the T:System.Reflection.Emit.AssemblyBuilder class to unmanaged code. More... | |
interface | _AssemblyName |
Exposes the T:System.Reflection.AssemblyName class to unmanaged code. More... | |
interface | _Attribute |
Exposes the T:System.Attribute class to unmanaged code. More... | |
interface | _ConstructorBuilder |
Exposes the T:System.Reflection.Emit.ConstructorBuilder class to unmanaged code. More... | |
interface | _ConstructorInfo |
Exposes the public members of the T:System.Reflection.ConstructorInfo class to unmanaged code. More... | |
interface | _CustomAttributeBuilder |
Exposes the T:System.Reflection.Emit.CustomAttributeBuilder class to unmanaged code. More... | |
interface | _EnumBuilder |
Exposes the T:System.Reflection.Emit.EnumBuilder class to unmanaged code. More... | |
interface | _EventBuilder |
Exposes the T:System.Reflection.Emit.EventBuilder class to unmanaged code. More... | |
interface | _EventInfo |
Exposes the public members of the T:System.Reflection.EventInfo class to unmanaged code. More... | |
interface | _Exception |
Exposes the public members of the T:System.Exception class to unmanaged code. More... | |
interface | _FieldBuilder |
Exposes the T:System.Reflection.Emit.FieldBuilder class to unmanaged code. More... | |
interface | _FieldInfo |
Exposes the public members of the T:System.Reflection.FieldInfo class to unmanaged code. More... | |
interface | _ILGenerator |
Exposes the T:System.Reflection.Emit.ILGenerator class to unmanaged code. More... | |
interface | _LocalBuilder |
Exposes the T:System.Reflection.Emit.LocalBuilder class to unmanaged code. More... | |
interface | _MemberInfo |
Exposes the public members of the T:System.Reflection.MemberInfo class to unmanaged code. More... | |
interface | _MethodBase |
Exposes the public members of the T:System.Reflection.MethodBase class to unmanaged code. More... | |
interface | _MethodBuilder |
Exposes the T:System.Reflection.Emit.MethodBuilder class to unmanaged code. More... | |
interface | _MethodInfo |
Exposes the public members of the T:System.Reflection.MethodInfo class to unmanaged code. More... | |
interface | _MethodRental |
Exposes the T:System.Reflection.Emit.MethodRental class to unmanaged code. More... | |
interface | _Module |
Exposes the T:System.Reflection.Module class to unmanaged code. More... | |
interface | _ModuleBuilder |
Exposes the T:System.Reflection.Emit.ModuleBuilder class to unmanaged code. More... | |
interface | _ParameterBuilder |
Exposes the T:System.Reflection.Emit.ParameterBuilder class to unmanaged code. More... | |
interface | _ParameterInfo |
Exposes the T:System.Reflection.ParameterInfo class to unmanaged code. More... | |
interface | _PropertyBuilder |
Exposes the T:System.Reflection.Emit.PropertyBuilder class to unmanaged code. More... | |
interface | _PropertyInfo |
Exposes the public members of the T:System.Reflection.PropertyInfo class to unmanaged code. More... | |
interface | _SignatureHelper |
Exposes the T:System.Reflection.Emit.SignatureHelper class to unmanaged code. More... | |
interface | _Thread |
Exposes the T:System.Threading.Thread class to unmanaged code. More... | |
interface | _Type |
Exposes the public members of the T:System.Type class to the unmanaged code. More... | |
interface | _TypeBuilder |
Exposes the T:System.Reflection.Emit.TypeBuilder class to unmanaged code. More... | |
class | AllowReversePInvokeCallsAttribute |
Allows an unmanaged method to call a managed method. More... | |
struct | ArrayWithOffset |
Encapsulates an array and an offset within the specified array. More... | |
class | AutomationProxyAttribute |
Specifies whether the type should be marshaled using the Automation marshaler or a custom proxy and stub. More... | |
class | BestFitMappingAttribute |
Controls whether Unicode characters are converted to the closest matching ANSI characters. More... | |
struct | BIND_OPTS |
Use T:System.Runtime.InteropServices.ComTypes.BIND_OPTS instead. More... | |
struct | BINDPTR |
Use T:System.Runtime.InteropServices.ComTypes.BINDPTR instead. More... | |
class | BStrWrapper |
Marshals data of type VT_BSTR from managed to unmanaged code. This class cannot be inherited. More... | |
class | ClassInterfaceAttribute |
Indicates the type of class interface to be generated for a class exposed to COM, if an interface is generated at all. More... | |
class | CoClassAttribute |
Specifies the class identifier of a coclass imported from a type library. More... | |
class | ComAliasNameAttribute |
Indicates the COM alias for a parameter or field type. More... | |
class | ComAwareEventInfo |
Permits late-bound registration of an event handler. More... | |
class | ComCompatibleVersionAttribute |
Indicates to a COM client that all classes in the current version of an assembly are compatible with classes in an earlier version of the assembly. More... | |
class | ComConversionLossAttribute |
Indicates that information was lost about a class or interface when it was imported from a type library to an assembly. More... | |
class | ComDefaultInterfaceAttribute |
Specifies a default interface to expose to COM. This class cannot be inherited. More... | |
class | ComEventInterfaceAttribute |
Identifies the source interface and the class that implements the methods of the event interface that is generated when a coclass is imported from a COM type library. More... | |
class | ComEventsHelper |
Provides methods that enable .NET Framework delegates that handle events to be added and removed from COM objects. More... | |
class | COMException |
The exception that is thrown when an unrecognized HRESULT is returned from a COM method call. More... | |
class | ComImportAttribute |
Indicates that the attributed type was previously defined in COM. More... | |
class | ComRegisterFunctionAttribute |
Specifies the method to call when you register an assembly for use from COM; this enables the execution of user-written code during the registration process. More... | |
class | ComSourceInterfacesAttribute |
Identifies a list of interfaces that are exposed as COM event sources for the attributed class. More... | |
class | ComUnregisterFunctionAttribute |
Specifies the method to call when you unregister an assembly for use from COM; this allows for the execution of user-written code during the unregistration process. More... | |
class | ComVisibleAttribute |
Controls accessibility of an individual managed type or member, or of all types within an assembly, to COM. More... | |
struct | CONNECTDATA |
Use T:System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. More... | |
class | CriticalHandle |
Represents a wrapper class for handle resources. More... | |
class | CurrencyWrapper |
Wraps objects the marshaler should marshal as a VT_CY . More... | |
class | DefaultCharSetAttribute |
Specifies the value of the T:System.Runtime.InteropServices.CharSet enumeration. This class cannot be inherited. More... | |
class | DefaultDllImportSearchPathsAttribute |
Specifies the paths that are used to search for DLLs that provide functions for platform invokes. More... | |
class | DefaultParameterValueAttribute |
Sets the default value of a parameter when called from a language that supports default parameters. This class cannot be inherited. More... | |
class | DispatchWrapper |
Wraps objects the marshaler should marshal as a VT_DISPATCH . More... | |
class | DispIdAttribute |
Specifies the COM dispatch identifier (DISPID) of a method, field, or property. More... | |
struct | DISPPARAMS |
Use T:System.Runtime.InteropServices.ComTypes.DISPPARAMS instead. More... | |
class | DllImportAttribute |
Indicates that the attributed method is exposed by an unmanaged dynamic-link library (DLL) as a static entry point. More... | |
struct | ELEMDESC |
Use T:System.Runtime.InteropServices.ComTypes.ELEMDESC instead. More... | |
class | ErrorWrapper |
Wraps objects the marshaler should marshal as a VT_ERROR . More... | |
struct | EXCEPINFO |
Use T:System.Runtime.InteropServices.ComTypes.EXCEPINFO instead. More... | |
class | ExtensibleClassFactory |
Enables customization of managed objects that extend from unmanaged objects during creation. More... | |
class | ExternalException |
The base exception type for all COM interop exceptions and structured exception handling (SEH) exceptions. More... | |
class | FieldOffsetAttribute |
Indicates the physical position of fields within the unmanaged representation of a class or structure. More... | |
struct | FILETIME |
Use T:System.Runtime.InteropServices.ComTypes.FILETIME instead. More... | |
struct | FUNCDESC |
Use T:System.Runtime.InteropServices.ComTypes.FUNCDESC instead. More... | |
struct | GCHandle |
Provides a way to access a managed object from unmanaged memory. More... | |
class | GuidAttribute |
Supplies an explicit T:System.Guid when an automatic GUID is undesirable. More... | |
class | HandleCollector |
Tracks outstanding handles and forces a garbage collection when the specified threshold is reached. More... | |
struct | HandleRef |
Wraps a managed object holding a handle to a resource that is passed to unmanaged code using platform invoke. More... | |
interface | ICustomAdapter |
Provides a way for clients to access the actual object, rather than the adapter object handed out by a custom marshaler. More... | |
interface | ICustomFactory |
Enables users to write activation code for managed objects that extend T:System.MarshalByRefObject. More... | |
interface | ICustomMarshaler |
Provides custom wrappers for handling method calls. More... | |
interface | ICustomQueryInterface |
Enables developers to provide a custom, managed implementation of the IUnknown::QueryInterface(REFIID riid, void **ppvObject) method. More... | |
class | IDispatchImplAttribute |
Indicates which IDispatch implementation the common language runtime uses when exposing dual interfaces and dispinterfaces to COM. More... | |
struct | IDLDESC |
Use T:System.Runtime.InteropServices.ComTypes.IDLDESC instead. More... | |
class | ImportedFromTypeLibAttribute |
Indicates that the types defined within an assembly were originally defined in a type library. More... | |
class | InAttribute |
Indicates that data should be marshaled from the caller to the callee, but not back to the caller. More... | |
class | InterfaceTypeAttribute |
Indicates whether a managed interface is dual, dispatch-only, or IUnknown -only when exposed to COM. More... | |
class | InvalidComObjectException |
The exception thrown when an invalid COM object is used. More... | |
class | InvalidOleVariantTypeException |
The exception thrown by the marshaler when it encounters an argument of a variant type that can not be marshaled to managed code. More... | |
interface | IRegistrationServices |
Provides a set of services for registering and unregistering managed assemblies for use from COM. More... | |
interface | ITypeLibConverter |
Provides a set of services that convert a managed assembly to a COM type library and vice versa. More... | |
interface | ITypeLibExporterNameProvider |
Provides control over the casing of names when exported to a type library. More... | |
interface | ITypeLibExporterNotifySink |
Provides a callback mechanism for the assembly converter to inform the caller of the status of the conversion, and involve the caller in the conversion process itself. More... | |
interface | ITypeLibImporterNotifySink |
Provides a callback mechanism for the type library converter to inform the caller of the status of the conversion, and involve the caller in the conversion process itself. More... | |
class | LCIDConversionAttribute |
Indicates that a method's unmanaged signature expects a locale identifier (LCID) parameter. More... | |
class | ManagedToNativeComInteropStubAttribute |
Provides support for user customization of interop stubs in managed-to-COM interop scenarios. More... | |
class | Marshal |
Provides a collection of methods for allocating unmanaged memory, copying unmanaged memory blocks, and converting managed to unmanaged types, as well as other miscellaneous methods used when interacting with unmanaged code. More... | |
class | MarshalAsAttribute |
Indicates how to marshal the data between managed and unmanaged code. More... | |
class | MarshalDirectiveException |
The exception that is thrown by the marshaler when it encounters a T:System.Runtime.InteropServices.MarshalAsAttribute it does not support. More... | |
class | OptionalAttribute |
Indicates that a parameter is optional. More... | |
struct | OSPlatform |
Represents an operating system platform. More... | |
class | OutAttribute |
Indicates that data should be marshaled from callee back to caller. More... | |
struct | PARAMDESC |
Use T:System.Runtime.InteropServices.ComTypes.PARAMDESC instead. More... | |
class | PreserveSigAttribute |
Indicates that the HRESULT or retval signature transformation that takes place during COM interop calls should be suppressed. More... | |
class | PrimaryInteropAssemblyAttribute |
Indicates that the attributed assembly is a primary interop assembly. More... | |
class | ProgIdAttribute |
Allows the user to specify the ProgID of a class. More... | |
class | RegistrationServices |
Provides a set of services for registering and unregistering managed assemblies for use from COM. More... | |
class | RuntimeEnvironment |
Provides a collection of static methods that return information about the common language runtime environment. More... | |
class | RuntimeInformation |
Provides information about the .NET runtime installation. More... | |
class | SafeArrayRankMismatchException |
The exception thrown when the rank of an incoming SAFEARRAY does not match the rank specified in the managed signature. More... | |
class | SafeArrayTypeMismatchException |
The exception thrown when the type of the incoming SAFEARRAY does not match the type specified in the managed signature. More... | |
class | SafeBuffer |
Provides a controlled memory buffer that can be used for reading and writing. Attempts to access memory outside the controlled buffer (underruns and overruns) raise exceptions. More... | |
class | SafeHandle |
Represents a wrapper class for operating system handles. This class must be inherited. More... | |
class | SEHException |
Represents structured exception handling (SEH) errors. More... | |
class | SetWin32ContextInIDispatchAttribute |
This attribute has been deprecated. More... | |
class | StandardOleMarshalObject |
Replaces the standard common language runtime (CLR) free-threaded marshaler with the standard OLE STA marshaler. More... | |
struct | STATSTG |
Use T:System.Runtime.InteropServices.ComTypes.STATSTG instead. More... | |
class | StructLayoutAttribute |
Lets you control the physical layout of the data fields of a class or structure in memory. More... | |
struct | TYPEATTR |
Use T:System.Runtime.InteropServices.ComTypes.TYPEATTR instead. More... | |
struct | TYPEDESC |
Use T:System.Runtime.InteropServices.ComTypes.TYPEDESC instead. More... | |
class | TypeIdentifierAttribute |
Provides support for type equivalence. More... | |
struct | TYPELIBATTR |
Use T:System.Runtime.InteropServices.ComTypes.TYPELIBATTR instead. More... | |
class | TypeLibConverter |
Provides a set of services that convert a managed assembly to a COM type library and vice versa. More... | |
class | TypeLibFuncAttribute |
Contains the T:System.Runtime.InteropServices.FUNCFLAGS that were originally imported for this method from the COM type library. More... | |
class | TypeLibImportClassAttribute |
Specifies which T:System.Type exclusively uses an interface. This class cannot be inherited. More... | |
class | TypeLibTypeAttribute |
Contains the T:System.Runtime.InteropServices.TYPEFLAGS that were originally imported for this type from the COM type library. More... | |
class | TypeLibVarAttribute |
Contains the T:System.Runtime.InteropServices.VARFLAGS that were originally imported for this field from the COM type library. More... | |
class | TypeLibVersionAttribute |
Specifies the version number of an exported type library. More... | |
interface | UCOMIBindCtx |
Use T:System.Runtime.InteropServices.ComTypes.BIND_OPTS instead. More... | |
interface | UCOMIConnectionPoint |
Use T:System.Runtime.InteropServices.ComTypes.IConnectionPoint instead. More... | |
interface | UCOMIConnectionPointContainer |
Use T:System.Runtime.InteropServices.ComTypes.IConnectionPointContainer instead. More... | |
interface | UCOMIEnumConnectionPoints |
Use T:System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints instead. More... | |
interface | UCOMIEnumConnections |
Use T:System.Runtime.InteropServices.ComTypes.IEnumConnections instead. More... | |
interface | UCOMIEnumMoniker |
Use T:System.Runtime.InteropServices.ComTypes.IEnumMoniker instead. More... | |
interface | UCOMIEnumString |
Use T:System.Runtime.InteropServices.ComTypes.IEnumString instead. More... | |
interface | UCOMIEnumVARIANT |
Use T:System.Runtime.InteropServices.ComTypes.IEnumVARIANT instead. More... | |
interface | UCOMIMoniker |
Use T:System.Runtime.InteropServices.ComTypes.IMoniker instead. More... | |
interface | UCOMIPersistFile |
Use T:System.Runtime.InteropServices.ComTypes.IPersistFile instead. More... | |
interface | UCOMIRunningObjectTable |
Use T:System.Runtime.InteropServices.ComTypes.IRunningObjectTable instead. More... | |
interface | UCOMIStream |
Use T:System.Runtime.InteropServices.ComTypes.IStream instead. More... | |
interface | UCOMITypeComp |
Use T:System.Runtime.InteropServices.ComTypes.ITypeComp instead. More... | |
interface | UCOMITypeInfo |
Use T:System.Runtime.InteropServices.ComTypes.ITypeInfo instead. More... | |
interface | UCOMITypeLib |
Use T:System.Runtime.InteropServices.ComTypes.ITypeLib instead. More... | |
class | UnknownWrapper |
Wraps objects the marshaler should marshal as a VT_UNKNOWN . More... | |
class | UnmanagedFunctionPointerAttribute |
Controls the marshaling behavior of a delegate signature passed as an unmanaged function pointer to or from unmanaged code. This class cannot be inherited. More... | |
struct | VARDESC |
Use T:System.Runtime.InteropServices.ComTypes.VARDESC instead. More... | |
class | VariantWrapper |
Marshals data of type VT_VARIANT | VT_BYREF from managed to unmanaged code. This class cannot be inherited. More... | |
Functions | |
delegate IntPtr | ObjectCreationDelegate (IntPtr aggregator) |
Creates a COM object. More... | |
|
strong |
Indicates the processor architecture.
Enumerator | |
---|---|
X86 | An Intel-based 32-bit processor architecture. |
X64 | An Intel-based 64-bit processor architecture. |
Arm | A 32-bit ARM processor architecture. |
Arm64 | A 64-bit ARM processor architecture. |
Definition at line 4 of file Architecture.cs.
Defines a set of flags used when registering assemblies.
Enumerator | |
---|---|
None | Indicates no special settings. |
SetCodeBase | Indicates that the code base key for the assembly should be set in the registry. |
Definition at line 6 of file AssemblyRegistrationFlags.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.CALLCONV instead.
Definition at line 6 of file CALLCONV.cs.
|
strong |
Specifies the calling convention required to call methods implemented in unmanaged code.
Definition at line 7 of file CallingConvention.cs.
|
strong |
Dictates which character set marshaled strings should use.
Enumerator | |
---|---|
None | This value is obsolete and has the same behavior as F:System.Runtime.InteropServices.CharSet.Ansi. |
Ansi | Marshal strings as multiple-byte character strings. |
Unicode | Marshal strings as Unicode 2-byte characters. |
Auto | Automatically marshal strings appropriately for the target operating system. The default is F:System.Runtime.InteropServices.CharSet.Unicode on Windows NT, Windows 2000, Windows XP, and the Windows Server 2003 family; the default is F:System.Runtime.InteropServices.CharSet.Ansi on Windows 98 and Windows Me. Although the common language runtime default is F:System.Runtime.InteropServices.CharSet.Auto, languages may override this default. For example, by default C# marks all methods and types as F:System.Runtime.InteropServices.CharSet.Ansi. |
Definition at line 7 of file CharSet.cs.
Identifies the type of class interface that is generated for a class.
Enumerator | |
---|---|
None | Indicates that no class interface is generated for the class. If no interfaces are implemented explicitly, the class can only provide late-bound access through the |
AutoDispatch | Indicates that the class only supports late binding for COM clients. A |
AutoDual | Indicates that a dual class interface is automatically generated for the class and exposed to COM. Type information is produced for the class interface and published in the type library. Using |
Definition at line 7 of file ClassInterfaceType.cs.
|
strong |
Identifies how to expose an interface to COM.
Enumerator | |
---|---|
InterfaceIsDual | Indicates that the interface is exposed to COM as a dual interface, which enables both early and late binding. F:System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual is the default value. |
InterfaceIsIUnknown | Indicates that an interface is exposed to COM as an interface that is derived from IUnknown, which enables only early binding. |
InterfaceIsIDispatch | Indicates that an interface is exposed to COM as a dispinterface, which enables late binding only. |
InterfaceIsIInspectable | Indicates that an interface is exposed to COM as a Windows Runtime interface. |
Definition at line 7 of file ComInterfaceType.cs.
|
strong |
Describes the type of a COM member.
Enumerator | |
---|---|
Method | The member is a normal method. |
PropGet | The member gets properties. |
PropSet | The member sets properties. |
Definition at line 7 of file ComMemberType.cs.
Indicates whether the M:System.Runtime.InteropServices.Marshal.GetComInterfaceForObject(System.Object,System.Type,System.Runtime.InteropServices.CustomQueryInterfaceMode) method's IUnknown::QueryInterface calls can use the T:System.Runtime.InteropServices.ICustomQueryInterface interface.
Definition at line 6 of file CustomQueryInterfaceMode.cs.
Provides return values for the M:System.Runtime.InteropServices.ICustomQueryInterface.GetInterface(System.Guid@,System.IntPtr@) method.
Definition at line 7 of file CustomQueryInterfaceResult.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.DESCKIND instead.
Enumerator | |
---|---|
DESCKIND_NONE | Indicates that no match was found. |
DESCKIND_FUNCDESC | Indicates that a T:System.Runtime.InteropServices.FUNCDESC was returned. |
DESCKIND_VARDESC | Indicates that a |
DESCKIND_TYPECOMP | Indicates that a |
DESCKIND_IMPLICITAPPOBJ | Indicates that an |
DESCKIND_MAX | Indicates an end of enumeration marker. |
Definition at line 6 of file DESCKIND.cs.
Specifies the paths that are used to search for DLLs that provide functions for platform invokes.
Enumerator | |
---|---|
UseDllDirectoryForDependencies | Search for the dependencies of a DLL in the folder where the DLL is located before searching other folders. |
ApplicationDirectory | Include the application directory in the DLL search path. |
UserDirectories | Include any path that was explicitly added to the process-wide search path by using the Win32 AddDllDirectory function. |
System32 | Include the |
SafeDirectories | Include the application directory, the |
AssemblyDirectory | When searching for assembly dependencies, include the directory that contains the assembly itself, and search that directory first. This value is used by the .NET Framework, before the paths are passed to the Win32 LoadLibraryEx function. |
LegacyBehavior | Search the application directory, and then call the Win32 LoadLibraryEx function with the LOAD_WITH_ALTERED_SEARCH_PATH flag. This value is ignored if any other value is specified. Operating systems that do not support the T:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute attribute use this value, and ignore other values. |
Definition at line 6 of file DllImportSearchPath.cs.
|
strong |
Describes the callbacks that the type library exporter makes when exporting a type library.
Definition at line 6 of file ExporterEventKind.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.FUNCFLAGS instead.
Definition at line 7 of file FUNCFLAGS.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.FUNCKIND instead.
Definition at line 6 of file FUNCKIND.cs.
|
strong |
Represents the types of handles the T:System.Runtime.InteropServices.GCHandle class can allocate.
Definition at line 7 of file GCHandleType.cs.
|
strong |
Indicates which IDispatch
implementation to use for a particular class.
Definition at line 7 of file IDispatchImplType.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.IDLFLAG instead.
Definition at line 7 of file IDLFLAG.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS instead.
Definition at line 7 of file IMPLTYPEFLAGS.cs.
|
strong |
Describes the callbacks that the type library importer makes when importing a type library.
Definition at line 6 of file ImporterEventKind.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.INVOKEKIND instead.
Definition at line 6 of file INVOKEKIND.cs.
|
strong |
Controls the layout of an object when exported to unmanaged code.
Definition at line 7 of file LayoutKind.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.LIBFLAGS instead.
Definition at line 7 of file LIBFLAGS.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.PARAMFLAG instead.
Definition at line 7 of file PARAMFLAG.cs.
Specifies the set of execution contexts in which a class object will be made available for requests to construct instances.
Definition at line 5 of file RegistrationClassContext.cs.
Defines the types of connections to a class object.
Definition at line 5 of file RegistrationConnectionType.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.SYSKIND instead.
Definition at line 6 of file SYSKIND.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.TYPEFLAGS instead.
Enumerator | |
---|---|
TYPEFLAG_FAPPOBJECT | A type description that describes an Application object. |
TYPEFLAG_FCANCREATE | Instances of the type can be created by |
TYPEFLAG_FLICENSED | The type is licensed. |
TYPEFLAG_FPREDECLID | The type is predefined. The client application should automatically create a single instance of the object that has this attribute. The name of the variable that points to the object is the same as the class name of the object. |
TYPEFLAG_FHIDDEN | The type should not be displayed to browsers. |
TYPEFLAG_FCONTROL | The type is a control from which other types will be derived, and should not be displayed to users. |
TYPEFLAG_FDUAL | The interface supplies both |
TYPEFLAG_FNONEXTENSIBLE | The interface cannot add members at run time. |
TYPEFLAG_FOLEAUTOMATION | The types used in the interface are fully compatible with Automation, including VTBL binding support. Setting dual on an interface sets this flag in addition to F:System.Runtime.InteropServices.TYPEFLAGS.TYPEFLAG_FDUAL. Not allowed on dispinterfaces. |
TYPEFLAG_FRESTRICTED | Should not be accessible from macro languages. This flag is intended for system-level types or types that type browsers should not display. |
TYPEFLAG_FAGGREGATABLE | The class supports aggregation. |
TYPEFLAG_FREPLACEABLE | The object supports |
TYPEFLAG_FDISPATCHABLE | Indicates that the interface derives from |
TYPEFLAG_FREVERSEBIND | Indicates base interfaces should be checked for name resolution before checking children, the reverse of the default behavior. |
TYPEFLAG_FPROXY | Indicates that the interface will be using a proxy/stub dynamic link library. This flag specifies that the type library proxy should not be unregistered when the type library is unregistered. |
Definition at line 7 of file TYPEFLAGS.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.TYPEKIND instead.
Definition at line 6 of file TYPEKIND.cs.
Indicates how a type library should be produced.
Enumerator | |
---|---|
None | Specifies no flags. This is the default. |
OnlyReferenceRegistered | Exports references to types that were imported from COM as |
CallerResolvedReferences | Allows the caller to explicitly resolve type library references without consulting the registry. |
OldNames | When exporting type libraries, the .NET Framework resolves type name conflicts by decorating the type with the name of the namespace; for example, |
ExportAs32Bit | When compiling on a 64-bit computer, specifies that the Type Library Exporter (Tlbexp.exe) generates a 32-bit type library. All data types are transformed appropriately. |
ExportAs64Bit | When compiling on a 32-bit computer, specifies that the Type Library Exporter (Tlbexp.exe) generates a 64-bit type library. All data types are transformed appropriately. |
Definition at line 7 of file TypeLibExporterFlags.cs.
|
strong |
Describes the original settings of the FUNCFLAGS
in the COM type library from where this method was imported.
Definition at line 7 of file TypeLibFuncFlags.cs.
Indicates how an assembly should be produced.
Definition at line 7 of file TypeLibImporterFlags.cs.
|
strong |
Describes the original settings of the T:System.Runtime.InteropServices.TYPEFLAGS in the COM type library from which the type was imported.
Definition at line 7 of file TypeLibTypeFlags.cs.
|
strong |
Describes the original settings of the T:System.Runtime.InteropServices.VARFLAGS in the COM type library from which the variable was imported.
Definition at line 7 of file TypeLibVarFlags.cs.
|
strong |
Identifies how to marshal parameters or fields to unmanaged code.
Enumerator | |
---|---|
Bool | A 4-byte Boolean value ( |
I1 | A 1-byte signed integer. You can use this member to transform a Boolean value into a 1-byte, C-style |
U1 | A 1-byte unsigned integer. |
I2 | A 2-byte signed integer. |
U2 | A 2-byte unsigned integer. |
I4 | A 4-byte signed integer. |
U4 | A 4-byte unsigned integer. |
I8 | An 8-byte signed integer. |
U8 | An 8-byte unsigned integer. |
R4 | A 4-byte floating-point number. |
R8 | An 8-byte floating-point number. |
Currency | A currency type. Used on a T:System.Decimal to marshal the decimal value as a COM currency type instead of as a |
BStr | A Unicode character string that is a length-prefixed double byte. You can use this member, which is the default string in COM, on the T:System.String data type. |
LPStr | A single byte, null-terminated ANSI character string. You can use this member on the T:System.String and T:System.Text.StringBuilder data types. |
LPWStr | A 2-byte, null-terminated Unicode character string. |
LPTStr | A platform-dependent character string: ANSI on Windows 98, and Unicode on Windows NT and Windows XP. This value is supported only for platform invoke and not for COM interop, because exporting a string of type |
ByValTStr | Used for in-line, fixed-length character arrays that appear within a structure. The character type used with F:System.Runtime.InteropServices.UnmanagedType.ByValTStr is determined by the T:System.Runtime.InteropServices.CharSet argument of the T:System.Runtime.InteropServices.StructLayoutAttribute attribute applied to the containing structure. Always use the F:System.Runtime.InteropServices.MarshalAsAttribute.SizeConst field to indicate the size of the array. |
IUnknown | A COM |
IDispatch | A COM |
Struct | A VARIANT, which is used to marshal managed formatted classes and value types. |
Interface | A COM interface pointer. The T:System.Guid of the interface is obtained from the class metadata. Use this member to specify the exact interface type or the default interface type if you apply it to a class. This member produces the same behavior as F:System.Runtime.InteropServices.UnmanagedType.IUnknown when you apply it to the T:System.Object data type. |
SafeArray | A |
ByValArray | When the P:System.Runtime.InteropServices.MarshalAsAttribute.Value property is set to |
SysInt | A platform-dependent, signed integer: 4 bytes on 32-bit Windows, 8 bytes on 64-bit Windows. |
SysUInt | A platform-dependent, unsigned integer: 4 bytes on 32-bit Windows, 8 bytes on 64-bit Windows. |
VBByRefStr | A value that enables Visual Basic to change a string in unmanaged code and have the results reflected in managed code. This value is only supported for platform invoke. |
AnsiBStr | An ANSI character string that is a length-prefixed single byte. You can use this member on the T:System.String data type. |
TBStr | A length-prefixed, platform-dependent |
VariantBool | A 2-byte, OLE-defined VARIANT_BOOL type ( |
FunctionPtr | An integer that can be used as a C-style function pointer. You can use this member on a T:System.Delegate data type or on a type that inherits from a T:System.Delegate. |
AsAny | A dynamic type that determines the type of an object at run time and marshals the object as that type. This member is valid for platform invoke methods only. |
LPArray | A pointer to the first element of a C-style array. When marshaling from managed to unmanaged code, the length of the array is determined by the length of the managed array. When marshaling from unmanaged to managed code, the length of the array is determined from the F:System.Runtime.InteropServices.MarshalAsAttribute.SizeConst and F:System.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex fields, optionally followed by the unmanaged type of the elements within the array when it is necessary to differentiate among string types. |
LPStruct | A pointer to a C-style structure that you use to marshal managed formatted classes. This member is valid for platform invoke methods only. |
CustomMarshaler | Specifies the custom marshaler class when used with the F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalType or F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalTypeRef field. The F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalCookie field can be used to pass additional information to the custom marshaler. You can use this member on any reference type. |
Error | A native type that is associated with an F:System.Runtime.InteropServices.UnmanagedType.I4 or an F:System.Runtime.InteropServices.UnmanagedType.U4 and that causes the parameter to be exported as an HRESULT in the exported type library. |
IInspectable | A Windows Runtime interface pointer. You can use this member on the T:System.Object data type. |
HString | A Windows Runtime string. You can use this member on the T:System.String data type. |
LPUTF8Str | A pointer to a UTF-8 encoded string. |
Definition at line 7 of file UnmanagedType.cs.
|
strong |
Indicates how to marshal the array elements when an array is marshaled from managed to unmanaged code as a F:System.Runtime.InteropServices.UnmanagedType.SafeArray.
Enumerator | |
---|---|
VT_EMPTY | Indicates that a value was not specified. |
VT_NULL | Indicates a null value, similar to a null value in SQL. |
VT_I2 | Indicates a |
VT_I4 | Indicates a |
VT_R4 | Indicates a |
VT_R8 | Indicates a |
VT_CY | Indicates a currency value. |
VT_DATE | Indicates a DATE value. |
VT_BSTR | Indicates a BSTR string. |
VT_DISPATCH | Indicates an |
VT_ERROR | Indicates an SCODE. |
VT_BOOL | Indicates a Boolean value. |
VT_VARIANT | Indicates a VARIANT |
VT_UNKNOWN | Indicates an |
VT_DECIMAL | Indicates a |
VT_I1 | Indicates a |
VT_UI1 | Indicates a |
VT_UI2 | Indicates an |
VT_UI4 | Indicates an |
VT_I8 | Indicates a 64-bit integer. |
VT_UI8 | Indicates an 64-bit unsigned integer. |
VT_INT | Indicates an integer value. |
VT_UINT | Indicates an |
VT_VOID | Indicates a C style |
VT_HRESULT | Indicates an HRESULT. |
VT_PTR | Indicates a pointer type. |
VT_SAFEARRAY | Indicates a SAFEARRAY. Not valid in a VARIANT. |
VT_CARRAY | Indicates a C style array. |
VT_USERDEFINED | Indicates a user defined type. |
VT_LPSTR | Indicates a null-terminated string. |
VT_LPWSTR | Indicates a wide string terminated by |
VT_RECORD | Indicates a user defined type. |
VT_FILETIME | Indicates a FILETIME value. |
VT_BLOB | Indicates length prefixed bytes. |
VT_STREAM | Indicates that the name of a stream follows. |
VT_STORAGE | Indicates that the name of a storage follows. |
VT_STREAMED_OBJECT | Indicates that a stream contains an object. |
VT_STORED_OBJECT | Indicates that a storage contains an object. |
VT_BLOB_OBJECT | Indicates that a blob contains an object. |
VT_CF | Indicates the clipboard format. |
VT_CLSID | Indicates a class ID. |
VT_VECTOR | Indicates a simple, counted array. |
VT_ARRAY | Indicates a |
VT_BYREF | Indicates that a value is a reference. |
Definition at line 7 of file VarEnum.cs.
|
strong |
Use T:System.Runtime.InteropServices.ComTypes.VARFLAGS instead.
Definition at line 7 of file VARFLAGS.cs.