TargetFrameworkAttribute(String) Constructor
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.
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)
Parameters
- frameworkName
- String
The version of .NET against which the assembly was built.
Exceptions
frameworkName
is null
.
Remarks
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.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.