IVsIntellisenseProject.AddP2PReference(Object) 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.
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.