string.IndexOf方法[C#]
public int IndexOf(
   string value,
   int startIndex,
   int count
);
参数
value 
要查找的 String。 
startIndex 
搜索起始位置。 
count 
要检查的字符位置数。 
看看MSDN上的帮助吧