System.Runtime.Versioning.TargetPlatformAttribute sealed class TargetPlatformAttribute : Attribute Documentation Code public TargetPlatformAttribute(string platformName)