Partager via


IVsBuildDependency.get_ReferredProject Method

Returns a pointer to a dependent project.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Déclaration
Function get_ReferredProject ( _
    <OutAttribute> ByRef ppIUnknownProject As Object _
) As Integer
'Utilisation
Dim instance As IVsBuildDependency
Dim ppIUnknownProject As Object
Dim returnValue As Integer

returnValue = instance.get_ReferredProject(ppIUnknownProject)
int get_ReferredProject(
    out Object ppIUnknownProject
)
int get_ReferredProject(
    [OutAttribute] Object^% ppIUnknownProject
)
abstract get_ReferredProject : 
        ppIUnknownProject:Object byref -> int 
function get_ReferredProject(
    ppIUnknownProject : Object
) : int

Parameters

  • ppIUnknownProject
    Type: System.Object%
    [out] An IUnknown pointer for the project object to which this project refers.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsBuildDependency::get_ReferredProject(
   [out] IUnknown **ppIUnknownProject
);

.NET Framework Security

See Also

Reference

IVsBuildDependency Interface

IVsBuildDependency Members

Microsoft.VisualStudio.Shell.Interop Namespace