共用方式為


IVsSimpleBrowseComponentSet.put_Owner(Object) Method

Definition

Sets the owner for the component set.

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

Parameters

pOwner
Object

An object that implements VSProject.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT put_Owner(  
[in] IUnknown *  pOwner);  

Applies to