Share via


IDkmVisualStudioServices.GetProjectItemScriptBlocks(DkmScriptDocument) Method

Definition

Queries the language service (IVsLanguageDebugInfoScript) to obtain script block information from the associated project item of the specified script document.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Script::DkmScriptBlockMappingInfo ^> ^ GetProjectItemScriptBlocks(Microsoft::VisualStudio::Debugger::Script::DkmScriptDocument ^ scriptDocument);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Script.DkmScriptBlockMappingInfo> GetProjectItemScriptBlocks (Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument scriptDocument);
abstract member GetProjectItemScriptBlocks : Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Script.DkmScriptBlockMappingInfo>
Public Function GetProjectItemScriptBlocks (scriptDocument As DkmScriptDocument) As ReadOnlyCollection(Of DkmScriptBlockMappingInfo)

Parameters

scriptDocument
DkmScriptDocument

[In] Represents a document which is executing in a script runtime environment. For example, the Microsoft JavaScript engine.

Returns

[Out] Set of script blocks returned from the language service.

Applies to