Redigera

Dela via


AssemblyName.ProcessorArchitecture Property

Definition

Caution

AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.

Gets or sets a value that identifies the processor and bits-per-word of the platform targeted by an executable.

public:
 property System::Reflection::ProcessorArchitecture ProcessorArchitecture { System::Reflection::ProcessorArchitecture get(); void set(System::Reflection::ProcessorArchitecture value); };
public System.Reflection.ProcessorArchitecture ProcessorArchitecture { get; set; }
[System.Obsolete("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public System.Reflection.ProcessorArchitecture ProcessorArchitecture { get; set; }
member this.ProcessorArchitecture : System.Reflection.ProcessorArchitecture with get, set
[<System.Obsolete("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.ProcessorArchitecture : System.Reflection.ProcessorArchitecture with get, set
Public Property ProcessorArchitecture As ProcessorArchitecture

Property Value

One of the enumeration values that identifies the processor and bits-per-word of the platform targeted by an executable.

Attributes

Remarks

Beginning with the .NET Framework 4, this property always returns ProcessorArchitecture.None for reference assemblies.

Applies to

See also