Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the owner for the component set.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function put_Owner ( _
pOwner As Object _
) As Integer
int put_Owner(
Object pOwner
)
int put_Owner(
[InAttribute] Object^ pOwner
)
abstract put_Owner :
pOwner:Object -> int
function put_Owner(
pOwner : Object
) : int
Parameters
- pOwner
Type: System.Object
An object that implements VSProject.
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 vsshell80.idl:
HRESULT put_Owner(
[in] IUnknown * pOwner);
.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.