Class ExcludeTypeAttribute
- Namespace
- System.Runtime.CompilerServices
- Assembly
- mscorlib.dll
When a class, enum, or struct is marked with ExcludeTypeAttribute it will be excluded from the PE files and stubbs generated by .NET nanoFramework metadata processor.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum, AllowMultiple = false, Inherited = true)]
public class ExcludeTypeAttribute : Attribute
- Inheritance
-
ExcludeTypeAttribute
- Inherited Members
- Extension Methods
Remarks
This attribute is exclusive to .NET nanoFramework and is not part of the .NET Standard.
[!Important] Placing this attribute on a class will cause the type from being excluded from the assembly metadata and therefore it will not be available at all in assemblies using or referencing them.
Constructors
ExcludeTypeAttribute()
public ExcludeTypeAttribute()