Compartilhar via


IVsScriptJmcProjectControl.GetUserCodeSourceType Method

Classify the source file as user code, library code or unrelated code.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

Syntax

'Declaration
Function GetUserCodeSourceType ( _
    sourceUrl As String _
) As VsScriptJmcCodeType
VsScriptJmcCodeType GetUserCodeSourceType(
    string sourceUrl
)
VsScriptJmcCodeType GetUserCodeSourceType(
    [InAttribute] String^ sourceUrl
)
abstract GetUserCodeSourceType : 
        sourceUrl:string -> VsScriptJmcCodeType
function GetUserCodeSourceType(
    sourceUrl : String
) : VsScriptJmcCodeType

Parameters

  • sourceUrl
    Type: String

    The source URL.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.VsScriptJmcCodeType
The code type.

.NET Framework Security

See Also

Reference

IVsScriptJmcProjectControl Interface

Microsoft.VisualStudio.Shell.Interop Namespace