Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Runtime.​InteropServices.​ComTypes.​TYPEATTR

Assembly: System.Runtime.InteropServices

Contains attributes of a <see langword="UCOMITypeInfo" /> .

Fields and Constants

public short
cbAlignment
Specifies the byte alignment for an instance of this type.
public int
cbSizeInstance
The size of an instance of this type.
public short
cbSizeVft
The size of this type's virtual method table (VTBL).
public short
cFuncs
Indicates the number of functions on the interface this structure describes.
public short
cImplTypes
Indicates the number of implemented interfaces on the interface this structure describes.
public short
cVars
Indicates the number of variables and data fields on the interface described by this structure.
public int
dwReserved
Reserved for future use.
public Guid
guid
The GUID of the type information.
public IDLDESC
idldescType
IDL attributes of the described type.
public int
lcid
Locale of member names and documentation strings.
public nint
lpstrSchema
Reserved for future use.
public const int
MEMBER_ID_NIL
A constant used with the <see cref="F:System.Runtime.InteropServices.TYPEATTR.memidConstructor" /> and <see cref="F:System.Runtime.InteropServices.TYPEATTR.memidDestructor" /> fields.
public int
memidConstructor
ID of constructor, or <see cref="F:System.Runtime.InteropServices.TYPEATTR.MEMBER_ID_NIL" /> if none.
public int
memidDestructor
ID of destructor, or <see cref="F:System.Runtime.InteropServices.TYPEATTR.MEMBER_ID_NIL" /> if none.
public TYPEDESC
tdescAlias
If <see cref="F:System.Runtime.InteropServices.TYPEATTR.typekind" /> == <see cref="F:System.Runtime.InteropServices.TYPEKIND.TKIND_ALIAS" /> , specifies the type for which this type is an alias.
public TYPEKIND
typekind
A <see cref="T:System.Runtime.InteropServices.TYPEKIND" /> value describing the type this information describes.
public short
wMajorVerNum
Major version number.
public short
wMinorVerNum
Minor version number.
public TYPEFLAGS
wTypeFlags
A <see cref="T:System.Runtime.InteropServices.TYPEFLAGS" /> value describing this information.

Methods

public bool
Equals​(object obj)
Inherited from ValueType
public int
GetHashCode​()
Inherited from ValueType
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object