public GetCaretRange ( bool &isActive ) : |
||
isActive | bool | |
return |
public TextPatternRange GetCaretRange(out bool isActive)
{
try
{
int intIsActive;
TextPatternRange caretRange = TextPatternRange.Wrap(
this._pattern.GetCaretRange(out intIsActive), this);
isActive = (intIsActive != 0);
return caretRange;
}
catch (System.Runtime.InteropServices.COMException e)
{
Exception newEx; if (Utility.ConvertException(e, out newEx)) { throw newEx; } else { throw; }
}
}
}