[AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple = false,
Inherited = false)]
public sealed class TargetPlatformAttribute : Attribute<AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple := false,
Inherited := false)>
Public NotInheritable Class TargetPlatformAttribute
Inherits Attribute
Dim instance As TargetPlatformAttribute[AttributeUsageAttribute(AttributeTargets::Assembly, AllowMultiple = false,
Inherited = false)]
public ref class TargetPlatformAttribute sealed : public Attribute[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple = false,
Inherited = false)>]
type TargetPlatformAttribute =
class
inherit Attribute
endNo code example is currently available or this language may not be supported.| TargetPlatformAttribute | Initializes a new instance of the TargetPlatformAttribute attribute class for the specified target OS platform. |
| PlatformName | Gets the target OS platform name that this attribute applies to (eg. "windows"). |
| TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute) |
| Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute) |
| GetHashCode | Returns the hash code for this instance. (Inherited from Attribute) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute) |
| Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
| IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |