Class AssemblyNativeVersionAttribute
- Namespace
- System.Reflection
- Assembly
- mscorlib.dll
Defines the required native version required for an assembly. At deploy time this is used to check if the target device has the correct native version to support this assembly.
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class, Inherited = false)]
public sealed class AssemblyNativeVersionAttribute : Attribute
- Inheritance
-
AssemblyNativeVersionAttribute
- Inherited Members
- Extension Methods
Remarks
This attribute is specific of nanoFramework.
Constructors
AssemblyNativeVersionAttribute(string)
Initializes a new instance of the AssemblyNativeVersionAttribute class.
public AssemblyNativeVersionAttribute(string version)
Parameters
version
stringThe native version required for the assembly.
Properties
NativeVersion
Gets the native version required for the assembly.
public string NativeVersion { get; }
Property Value
- string
A string containing the native version.