共用方式為


IPropertyProxyProvider::GetPropertyProxy

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves the property proxy interface for the specified proxy ID.

Syntax

HRESULT GetPropertyProxy(
   DWORD                  dwID,
   IPropertyProxyEESide** proxy
);
int GetPropertyProxy(
   uint                     dwID,
   out IPropertyProxyEESide proxy
);

Parameters

dwID
[in] ID of the desired property proxy.

proxy
[out] Returns an IPropertyProxyEESide object.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

To support external type visualizers, this method typically forwards the call to the GetPropertyProxy method. See Visualizing and Viewing Data for details on how the IEEVisualizerService is obtained.

See also