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
'Usage
Dim instance As IVsItemTypeResolutionSite 
Dim bstrAssembly As String 
Dim pfIsCodeAssembly As Integer 
Dim returnValue As Integer 

returnValue = instance.IsCodeDirectoryAssembly(bstrAssembly, _
    pfIsCodeAssembly)
int IsCodeDirectoryAssembly(
    string bstrAssembly,
    out int pfIsCodeAssembly
)
int IsCodeDirectoryAssembly(
    [InAttribute] String^ bstrAssembly, 
    [OutAttribute] int% pfIsCodeAssembly
)
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

IVsItemTypeResolutionSite Members

Microsoft.VisualStudio.Shell.Interop Namespace