SupportedOSPlatformAttribute(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 a new instance of the SupportedOSPlatformAttribute attribute class for the specified supported OS platform.
public:
SupportedOSPlatformAttribute(System::String ^ platformName);
public SupportedOSPlatformAttribute (string platformName);
new System.Runtime.Versioning.SupportedOSPlatformAttribute : string -> System.Runtime.Versioning.SupportedOSPlatformAttribute
Public Sub New (platformName As String)
Parameters
- platformName
- String
The supported OS platform name, optionally including a version.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.