IVsSolution.GetProjectInfoOfProjref(String, Int32, Object) Method
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.
Obtains the required property for the specified project reference.
public:
int GetProjectInfoOfProjref(System::String ^ pszProjref, int propid, [Runtime::InteropServices::Out] System::Object ^ % pvar);
C++/WinRT
int GetProjectInfoOfProjref(std::wstring const & pszProjref, int propid, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvar);
public int GetProjectInfoOfProjref(string pszProjref, int propid, out object pvar);
abstract member GetProjectInfoOfProjref : string * int * obj -> int
Public Function GetProjectInfoOfProjref (pszProjref As String, propid As Integer, ByRef pvar As Object) As Integer
- pszProjref
- String
[in] Project reference for which information is required.
- propid
- Int32
[in] Property identifier. For a list of propid
values, see __VSHPROPID.
- pvar
- Object
[out] Property information is passed back to the caller through this parameter.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
cpp#
HRESULT IVsSolution::GetProjectInfoOfProjref(
[in] LPCOLESTR pszProjref,
[in] VSHPROPID propid,
[out] VARIANT *pvar
);
製品 | バージョン |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |