IDkmVisualStudioServices.GetProjectItemScriptBlocks(DkmScriptDocument) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.