Share via


IVsItemTypeResolutionSite.IsCodeDirectoryAssembly Method

Tests whether or not a reference is to a code assembly.

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

Syntax

'Declaration
Function IsCodeDirectoryAssembly ( _
    bstrAssembly As String, _
    <OutAttribute> ByRef pfIsCodeAssembly As Integer _
) As Integer
int IsCodeDirectoryAssembly(
    string bstrAssembly,
    out int pfIsCodeAssembly
)
int IsCodeDirectoryAssembly(
    [InAttribute] String^ bstrAssembly, 
    [OutAttribute] int% pfIsCodeAssembly
)
abstract IsCodeDirectoryAssembly : 
        bstrAssembly:string * 
        pfIsCodeAssembly:int byref -> int
function IsCodeDirectoryAssembly(
    bstrAssembly : String, 
    pfIsCodeAssembly : int
) : int

Parameters

  • bstrAssembly
    Type: System.String

    [in] String containing the assembly path and name.

  • pfIsCodeAssembly
    Type: System.Int32%

    [out] Pointer to a Boolean value. Set to true if the reference is to a code assembly; false otherwise.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsItemTypeResolutionSite Interface

Microsoft.VisualStudio.Shell.Interop Namespace