TargetFrameworkAttribute(String) Construtor
Definição
Inicializa uma instância da classe TargetFrameworkAttribute especificando a versão do .NET na qual um assembly foi compilado.Initializes an instance of the TargetFrameworkAttribute class by specifying the .NET version against which an assembly was built.
public:
TargetFrameworkAttribute(System::String ^ frameworkName);
public TargetFrameworkAttribute (string frameworkName);
new System.Runtime.Versioning.TargetFrameworkAttribute : string -> System.Runtime.Versioning.TargetFrameworkAttribute
Public Sub New (frameworkName As String)
Parâmetros
- frameworkName
- String
A versão do .NET em que o assembly foi compilado.The version of .NET against which the assembly was built.
Exceções
frameworkName é null.frameworkName is null.
Comentários
A cadeia de caracteres atribuída ao frameworkName parâmetro geralmente assume a mesma forma que a cadeia de caracteres retornada pelo FrameworkName.ToString método.The string that is assigned to the frameworkName parameter generally takes the same form as the string that is returned by the FrameworkName.ToString method.