Udostępnij za pośrednictwem


IVsIntellisenseProject.AddP2PReference(Object) Method

Definition

Adds a reference to an object on a peer-to-peer network.

public:
 int AddP2PReference(System::Object ^ pUnk);
public:
 int AddP2PReference(Platform::Object ^ pUnk);
int AddP2PReference(winrt::Windows::Foundation::IInspectable const & pUnk);
public int AddP2PReference (object pUnk);
abstract member AddP2PReference : obj -> int
Public Function AddP2PReference (pUnk As Object) As Integer

Parameters

pUnk
Object

[in] Pointer to the IUnknown interface of the object referenced.

Returns

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

Applies to