Bagikan melalui


RelatedAssemblyAttribute Kelas

Definisi

Menentukan rakitan untuk dimuat sebagai bagian dari mekanisme penemuan perakitan MVC.

public ref class RelatedAssemblyAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class RelatedAssemblyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type RelatedAssemblyAttribute = class
    inherit Attribute
Public NotInheritable Class RelatedAssemblyAttribute
Inherits Attribute
Warisan
RelatedAssemblyAttribute
Atribut

Konstruktor

RelatedAssemblyAttribute(String)

Menginisialisasi instans RelatedAssemblyAttributebaru .

Properti

AssemblyFileName

Mendapatkan nama file rakitan tanpa ekstensi.

Metode

GetRelatedAssemblies(Assembly, Boolean)

Mendapatkan instans Assembly yang ditentukan oleh RelatedAssemblyAttribute.

Berlaku untuk