Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TYPELIBATTR Structure

Identifies a particular type library and provides localization support for member names.

Namespace:  System.Runtime.InteropServices.ComTypes
Assemblies:   System.Runtime.InteropServices (in System.Runtime.InteropServices.dll)
  mscorlib (in mscorlib.dll)

public value class TYPELIBATTR

The TYPELIBATTR type exposes the following members.

  NameDescription
Public methodSupported by Portable Class LibraryEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public methodSupported by Portable Class LibraryGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodSupported by Portable Class LibraryGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Portable Class LibraryToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

  NameDescription
Public fieldSupported by Portable Class LibraryguidRepresents a globally unique library ID of a type library.
Public fieldSupported by Portable Class LibrarylcidRepresents a locale ID of a type library.
Public fieldSupported by Portable Class LibrarysyskindRepresents the target hardware platform of a type library.
Public fieldSupported by Portable Class LibrarywLibFlagsRepresents library flags.
Public fieldSupported by Portable Class LibrarywMajorVerNumRepresents the major version number of a type library.
Public fieldSupported by Portable Class LibrarywMinorVerNumRepresents the minor version number of a type library.
Top

For additional information about the TLIBATTR structure, see the MSDN Library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1

Portable Class Library

Supported in: Portable Class Library

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft