語言

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 位置。

傳回

如果找到,則為 true。

適用於