536cd135cc
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
38 lines
1.5 KiB
C#
38 lines
1.5 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="XmlIncludeAttribute.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
// <owner current="true" primary="true">Microsoft</owner>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Xml.Serialization {
|
|
|
|
using System;
|
|
|
|
/// <include file='doc\XmlIncludeAttribute.uex' path='docs/doc[@for="XmlIncludeAttribute"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Method, AllowMultiple=true)]
|
|
public class XmlIncludeAttribute : System.Attribute {
|
|
Type type;
|
|
|
|
/// <include file='doc\XmlIncludeAttribute.uex' path='docs/doc[@for="XmlIncludeAttribute.XmlIncludeAttribute"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public XmlIncludeAttribute(Type type) {
|
|
this.type = type;
|
|
}
|
|
|
|
/// <include file='doc\XmlIncludeAttribute.uex' path='docs/doc[@for="XmlIncludeAttribute.Type"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public Type Type {
|
|
get { return type; }
|
|
set { type = value; }
|
|
}
|
|
}
|
|
}
|