示例#1
0
        private void callWeb2(EA.Repository Repository)
        {
            object o;

            EA.ObjectType type = Repository.GetContextItem(out o);
            MessageBox.Show("Type:" + type);

            EA.Element e = (EA.Element)o;
            MessageBox.Show("Name:" + e.Name);
        }