ApplicationPartAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies an assembly to be added as an ApplicationPart.
In the ordinary case, MVC will generate ApplicationPartAttribute instances on the entry assembly for each dependency that references MVC. Each of these assemblies is treated as an 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
- Inheritance
-
ApplicationPartAttribute
- Attributes
Constructors
ApplicationPartAttribute(String) |
Initializes a new instance of ApplicationPartAttribute. |
Properties
AssemblyName |
Gets the assembly name. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for