ISuggestedAction::HasPreview Property
Visual Studio 2015
Determines whether this suggested action can provide a preview via GetPreviewAsync(CancellationToken)./// </summary>/// <remarks> </remarks>
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
This property is expected to be fast, so if calculating the return value is not trivial it's recommended to just return trueand delay evaluating whether a preview can be provided until GetPreviewAsync(CancellationToken) is called. In other words, the scenario of < HasPreview returning trueand GetPreviewAsync(CancellationToken) returning null is supported. On the other hand, if this property returns false, GetPreviewAsync(CancellationToken) will not be called.
Show: