Dela via


AdapterResolveEventArgs.ObjectToPack Property

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Gets the object that is being passed to or returned by a member of a proxy.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
Public ReadOnly Property ObjectToPack As Object
'Usage
Dim instance As AdapterResolveEventArgs 
Dim value As Object 

value = instance.ObjectToPack
public Object ObjectToPack { get; }
public:
property Object^ ObjectToPack {
    Object^ get ();
}
public function get ObjectToPack () : Object

Property Value

Type: System.Object
The local object that is being passed to or returned by a member of a proxy.

Remarks

The adapter has a reference to the object that the ObjectToPack property represents to enable the adapter to interact with the object as appropriate on every call.

See Also

Reference

AdapterResolveEventArgs Class

AdapterResolveEventArgs Members

Microsoft.VisualStudio.Tools.Applications Namespace