SupportedPlatformAttribute Class

 

Represents an attribute that is designed to restrict an add-in from running on unsupported or unlicensed platforms. This class cannot be inherited.

Namespace:   Microsoft.WindowsServerSolutions.Common
Assembly:  AdminCommon (in AdminCommon.dll)

System::Object
  System::Attribute
    Microsoft.WindowsServerSolutions.Common::SupportedPlatformAttribute

[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true)]
public ref class SupportedPlatformAttribute sealed : Attribute

NameDescription
System_CAPS_pubmethodSupportedPlatformAttribute(Int32)

Initializes a new instance of the SupportedPlatformAttribute class with a platform identifier.

System_CAPS_pubmethodSupportedPlatformAttribute(array<Int32>^)

Initializes a new instance of the SupportedPlatformAttribute class with an array of platform identifiers.

NameDescription
System_CAPS_pubpropertyPlatformIds

Gets the list of platform identifiers.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

You should place this attribute on the class that implements the add-in. If this attribute is absent, there is no additional limitation to platform support.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: