IVsScriptJmcProjectControl.GetUserCodeSourceType(String) 方法

定义

将源文件归类为用户代码、库代码或无关代码。

public:
 Microsoft::VisualStudio::Shell::Interop::VsScriptJmcCodeType GetUserCodeSourceType(System::String ^ sourceUrl);
public:
 Microsoft::VisualStudio::Shell::Interop::VsScriptJmcCodeType GetUserCodeSourceType(Platform::String ^ sourceUrl);
Microsoft::VisualStudio::Shell::Interop::VsScriptJmcCodeType GetUserCodeSourceType(std::wstring const & sourceUrl);
public Microsoft.VisualStudio.Shell.Interop.VsScriptJmcCodeType GetUserCodeSourceType (string sourceUrl);
abstract member GetUserCodeSourceType : string -> Microsoft.VisualStudio.Shell.Interop.VsScriptJmcCodeType
Public Function GetUserCodeSourceType (sourceUrl As String) As VsScriptJmcCodeType

参数

sourceUrl
String

源 URL。

返回

VsScriptJmcCodeType

代码类型。

适用于