Bewerken

ProjectTargetFrameworkAttribute Class

Definition

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
ProjectTargetFrameworkAttribute
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.

Applies to