ApplicationPartAttribute Třída

Definice

Určuje sestavení, které se má přidat jako ApplicationPart.

V běžném případě MVC vygeneruje ApplicationPartAttribute instance v sestavení položky pro každou závislost, která odkazuje na MVC. Každá z těchto sestavení je považována za ApplicationPart.

public ref class ApplicationPartAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class ApplicationPartAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type ApplicationPartAttribute = class
    inherit Attribute
Public NotInheritable Class ApplicationPartAttribute
Inherits Attribute
Dědičnost
ApplicationPartAttribute
Atributy

Konstruktory

ApplicationPartAttribute(String)

Inicializuje novou instanci ApplicationPartAttribute.

Vlastnosti

AssemblyName

Získá název sestavení.

Platí pro