【20090713-01】AE中Uid

 

 

Here are the GUIDs for some of the common intefaces searched for:
{6CA416B1-E160-11D2-9F4E-00C04F6BC78E} IDataLayer
{40A9E885-5533-11d0-98BE-00805F7CED21} IFeatureLayer
{E156D7E5-22AF-11D3-9F99-00C04F6BC78E} IGeoFeatureLayer
{34B2EF81-F4AC-11D1-A245-080009B6F22B} IGraphicsLayer
{5CEAE408-4C0A-437F-9DB3-054D83919850} IFDOGraphicsLayer
{0C22A4C7-DAFD-11D2-9F46-00C04F6BC78E} ICoverageAnnotationLayer
{EDAD6644-1810-11D1-86AE-0000F8751720} IGroupLayer

 

 

IRasterLayer rl = new RasterLayerClass();
            Guid puid = (typeof(esriGlobeLayerType)).GUID;

 

获得指定类型的图层

UID puid = new UID();
  puid.Value = "{40A9E885-5533-11d0-98BE-00805F7CED21}"; //FeatureLayer的UID;

 

http://bbs.esrichina-bj.cn/ESRI/viewthread.php?tid=28565&highlight=uid

posted @ 2009-07-13 15:24  WillWayer  阅读(475)  评论(0编辑  收藏  举报