다음을 통해 공유


OfficeAvailabilityAttribute Class

Definition

Defines an OfficeAvailabilityAttribute class to indicate whether the property is available in a specific version of an Office application.

public sealed class OfficeAvailabilityAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class OfficeAvailabilityAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class OfficeAvailabilityAttribute : Attribute
type OfficeAvailabilityAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type OfficeAvailabilityAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type OfficeAvailabilityAttribute = class
    inherit Attribute
Public NotInheritable Class OfficeAvailabilityAttribute
Inherits Attribute
Inheritance
OfficeAvailabilityAttribute
Attributes

Constructors

OfficeAvailabilityAttribute(FileFormatVersions)

Initializes a new instance of the OfficeAvailabilityAttribute class.

Properties

OfficeVersion

Gets the Office version of the available property.

Applies to