Udostępnij za pośrednictwem


IVsItemTypeResolutionSite.IsCodeDirectoryAssembly(String, Int32) Method

Definition

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

public:
 int IsCodeDirectoryAssembly(System::String ^ bstrAssembly, [Runtime::InteropServices::Out] int % pfIsCodeAssembly);
int IsCodeDirectoryAssembly(std::wstring const & bstrAssembly, [Runtime::InteropServices::Out] int & pfIsCodeAssembly);
public int IsCodeDirectoryAssembly (string bstrAssembly, out int pfIsCodeAssembly);
abstract member IsCodeDirectoryAssembly : string * int -> int
Public Function IsCodeDirectoryAssembly (bstrAssembly As String, ByRef pfIsCodeAssembly As Integer) As Integer

Parameters

bstrAssembly
String

[in] String containing the assembly path and name.

pfIsCodeAssembly
Int32

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to