SuperMap.Connector.TrafficTransferAnalyst.FindStopsByKeyWord C# (CSharp) Method

FindStopsByKeyWord() public method

在指定的公交网络中查找公交站。
参数transferNetName或者keyWord为空时抛出异常。
public FindStopsByKeyWord ( string transferNetName, string keyWord, bool returnPosition ) : List
transferNetName string 公交网络的名称。
keyWord string 站点名称关键字。
returnPosition bool 是否获取公交站的坐标。
return List
        public List<TransferStopInfo> FindStopsByKeyWord(string transferNetName, string keyWord, bool returnPosition)
        {
            if (string.IsNullOrEmpty(transferNetName))
            {
                throw new ArgumentNullException("transferNetName");
            }
            if (string.IsNullOrEmpty(keyWord))
            {
                throw new ArgumentNullException("keyWord");
            }
            return _trafficTransferAnalystProvider.FindStopsByKeyWord(transferNetName, keyWord, returnPosition);
        }

Same methods

TrafficTransferAnalyst::FindStopsByKeyWord ( string transferNetName, string keyWord, bool returnPosition, EventHandler completed, EventHandler failed ) : void