Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Obtains the required property for the specified project reference.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetProjectInfoOfProjref ( _
pszProjref As String, _
propid As Integer, _
<OutAttribute> ByRef pvar As Object _
) As Integer
int GetProjectInfoOfProjref(
string pszProjref,
int propid,
out Object pvar
)
int GetProjectInfoOfProjref(
[InAttribute] String^ pszProjref,
[InAttribute] int propid,
[OutAttribute] Object^% pvar
)
abstract GetProjectInfoOfProjref :
pszProjref:string *
propid:int *
pvar:Object byref -> int
function GetProjectInfoOfProjref(
pszProjref : String,
propid : int,
pvar : Object
) : int
Parameters
pszProjref
Type: String[in] Project reference for which information is required.
- propid
Type: Int32
- pvar
Type: Object%
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsSolution2::GetProjectInfoOfProjref(
[in] LPCOLESTR pszProjref,
[in] VSHPROPID propid,
[out] VARIANT *pvar
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.