IVsItemTypeResolutionSite.IsCodeDirectoryAssembly(String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.