ISourceMap.TryGetValue(Object, SourceRange) 方法

定义

查找对象的 SourceRange 信息。

public bool TryGetValue(object item, out Microsoft.Bot.Builder.Dialogs.Debugging.SourceRange range);
abstract member TryGetValue : obj * SourceRange -> bool
Public Function TryGetValue (item As Object, ByRef range As SourceRange) As Boolean

参数

item
Object

要查找的 对象。

range
SourceRange

用于返回对象的 SourceRange 的 place。

返回

如果找到,则为 true。

适用于