ChildElementInfoAttribute 类

定义

注意

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

定义属性,该特性用于修饰类的可能子元素的类型。

[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
继承
ChildElementInfoAttribute
属性

构造函数

ChildElementInfoAttribute(Type)
已过时.

初始化 ChildElementTypeAttribute 的新实例。

ChildElementInfoAttribute(Type, FileFormatVersions)
已过时.

初始化 ChildElementTypeAttribute 的新实例。

属性

AvailableInVersion
已过时.

获取可用的子元素的 Office 版本 () 。

ElementType
已过时.

获取可能的子元素的类型。

适用于