最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
当然可以,给你个例子
时间:2022-07-02 11:35:50 编辑:袖梨 来源:一聚教程网
注意类前面的[xmlinclude]那部分
using System;
using System.Collections ;
using System.IO ;
using System.Xml.Serialization;
using System.Diagnostics ;
namespace Bigeagle.Model.Base
{
///
/// 枚举,表示组织结构节点类型
///
public enum ObjectType
{
Enterprise = 0 ,
Outter ,
Unit ,
Department ,
Position ,
Duty ,
Data
}
///
///
组织结构类
///
Author: [email protected]
///
Date: 2001/12/26
///
History: 2001/12/26 finished
///
///
///组织结构类
[XmlInclude(typeof(Enterprise)), XmlInclude(typeof(Outter))
using System;
using System.Collections ;
using System.IO ;
using System.Xml.Serialization;
using System.Diagnostics ;
namespace Bigeagle.Model.Base
{
///
/// 枚举,表示组织结构节点类型
///
public enum ObjectType
{
Enterprise = 0 ,
Outter ,
Unit ,
Department ,
Position ,
Duty ,
Data
}
///
///
组织结构类
///
Author: [email protected]
///
Date: 2001/12/26
///
History: 2001/12/26 finished
///
- 2001/12/28,添加流程数组
///
///
[XmlInclude(typeof(Enterprise)), XmlInclude(typeof(Outter))