public static bool Exists(IGeoProcessor gp, string modalname)
{
IGpEnumList pList = gp.ListTools("");
string name = pList.Next();
while (name != "")
{
if (modalname == name) return true;
name = pList.Next();
}
return false;
}
微信扫一扫
public static bool Exists(IGeoProcessor gp, string modalname)
{
IGpEnumList pList = gp.ListTools("");
string name = pList.Next();
while (name != "")
{
if (modalname == name) return true;
name = pList.Next();
}
return false;
}
相关推荐