ProjectTargetFrameworkAttribute 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 the target framework for a project.
public ref class ProjectTargetFrameworkAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Struct)]
public sealed class ProjectTargetFrameworkAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Struct)>]
type ProjectTargetFrameworkAttribute = class
inherit Attribute
Public NotInheritable Class ProjectTargetFrameworkAttribute
Inherits Attribute
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| ProjectTargetFrameworkAttribute(String) |
Initializes a new instance of the ProjectTargetFrameworkAttribute class. |
Properties
| Name | Description |
|---|---|
| TargetFrameworkMoniker |
Gets the target framework for the project. |