SupportedPlatformAttribute Constructor (Int32)
Initializes a new instance of the SupportedPlatformAttribute class with a platform identifier.
Namespace: Microsoft.WindowsServerSolutions.Common
Assembly: AdminCommon (in AdminCommon.dll)
Syntax
public SupportedPlatformAttribute(
int platformId
)
public:
SupportedPlatformAttribute(
int platformId
)
Public Sub New (
platformId As Integer
)
Parameters
platformId
Type: System.Int32The platform identifier.
Remarks
You should use this constructor to pass a single platform identifier if the code must be compliant with CLS. It can be used multiple times to achieve the effect of applying an array of platform identifiers to the target class.
See Also
SupportedPlatformAttribute Overload
SupportedPlatformAttribute Class
Microsoft.WindowsServerSolutions.Common Namespace
Return to top