Edit

Share via


OSPlatformAttribute.PlatformName Property

Definition

Gets the name and optional version of the platform that the attribute applies to.

C#
public string PlatformName { get; }

Property Value

The applicable platform name and optional version.

Applies to

Product Versions
.NET 5, 6, 7, 8, 9, 10