开发者

ArcObjects: Why is my StandaloneTableCount 0? (IStandaloneTableCollection)

When I do:

IStandaloneTableCollection collection = (IStandaloneTableCollection)MxDoc.FocusMap

Then collection.StandaloneTableCount returns 0.

I have created the new table via ArcCatalog and registered i开发者_C百科t as versioned. What am I missing?


OK, what I was missing was that the newly created table also needs to be added into the workspace for it to be available on the FocusMap. So easy, yet no search yielded any help. So I hope this helps some other ArcObjects newbies out into the future. :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜