共用方式為


ChildElementInfoAttribute Class

Definition

Caution

This attribute is no longer used and will be removed in a later release

Defines the attribute which is used to decorate a class for type of the possible child elements.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ChildElementInfoAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
[System.Obsolete("This attribute is no longer used and will be removed in a later release")]
public sealed class ChildElementInfoAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ChildElementInfoAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("This attribute is no longer used and will be removed in a later release")>]
type ChildElementInfoAttribute = class
    inherit Attribute
Public NotInheritable Class ChildElementInfoAttribute
Inherits Attribute
Inheritance
ChildElementInfoAttribute
Attributes

Constructors

ChildElementInfoAttribute(Type)

Initialize a new instance of ChildElementTypeAttribute.

ChildElementInfoAttribute(Type, FileFormatVersions)

Initialize a new instance of ChildElementTypeAttribute.

Properties

AvailableInVersion
Obsolete.

Gets the Office version(s) where the child element is available.

ElementType

Gets the type of the possible child element.

Applies to