Export (0) Print
Expand All

TypeLibFuncAttribute Class

Contains the FUNCFLAGS that were originally imported for this method from the COM type library.

For a list of all members of this type, see TypeLibFuncAttribute Members.

System.Object
   System.Attribute
      System.Runtime.InteropServices.TypeLibFuncAttribute

[Visual Basic]
<AttributeUsage(AttributeTargets.Method)>
NotInheritable Public Class TypeLibFuncAttribute
   Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.Method)]
public sealed class TypeLibFuncAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::Method)]
public __gc __sealed class TypeLibFuncAttribute : public Attribute
[JScript]
public
   AttributeUsage(AttributeTargets.Method)
class TypeLibFuncAttribute extends Attribute

Thread Safety

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

Remarks

The Type Library Importer (Tlbimp.exe) applies this attribute to methods.

This attribute is applied when a type library is imported and should never be changed. It is only applied when the method's FUNCFLAGS evaluate to non zero. The attribute is designed to be used by tools that need to know how the original FUNCFLAGS were set. The common language runtime does not use this attribute.

Requirements

Namespace: System.Runtime.InteropServices

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

TypeLibFuncAttribute Members | System.Runtime.InteropServices Namespace | Type Library Importer (Tlbimp.exe)

Show:
© 2014 Microsoft