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: StringThe source URL.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.VsScriptJmcCodeType
The code type.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.