在对象浏览器窗口看下你就明白了 public abstract class HostApplicationServices : Autodesk.AutoCAD.Runtime.RXObject Autodesk.AutoCAD.DatabaseServices 的成员 HostApplicationServices 是类 public static Autodesk.AutoCAD.DatabaseServices.Database WorkingDatabase { set; get; } Autodesk.AutoCAD.DatabaseServices.HostApplicationServices 的成员 WorkingDatabase是它的静态属性 public virtual Autodesk.AutoCAD.DatabaseServices.DBObject GetObject(Autodesk.AutoCAD.DatabaseServices.ObjectId id, Autodesk.AutoCAD.DatabaseServices.OpenMode mode) Autodesk.AutoCAD.DatabaseServices.Transaction 的成员 GetObject是trans对象的方法 OpenMode是Enum -》 枚举,基本的概念,看书先 using的用法,小猫的帖子里有 |