IPropertyProxyEESide::GetManagedViewerCreationData

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 information about the viewer for this property type in order to instantiate that viewer.

Syntax

HRESULT GetManagedViewerCreationData(
   BSTR*                  assemName,
   IEEDataStorage**       assemBytes,
   IEEDataStorage**       assemPdb,
   BSTR*                  className,
   ASSEMBLYLOCRESOLUTION* alr,
   BOOL*                  replacementOk
);
int GetManagedViewerCreationData(
   out string                     assemName,
   out IEEDataStorage             assemBytes,
   out IEEDataStorage             assemPdb,
   out string                     className,
   out enum_ASSEMBLYLOCRESOLUTION alr,
   out int                        replacementOk
);

Parameters

assemName
[out] Returns the name of the assembly holding this object.

assemBytes
[out] Returns an IEEDataStorage object containing the assembly bytes of this object (this is a null value if no bytes are available).

assemPdb
[out] Returns an IEEDataStorage object containing the symbol store information for this object (this is a null value if no symbol store is available).

className
[out] Returns the class name containing this object.

alr
[out] Returns a value from the ASSEMBLYLOCRESOLUTION enumeration indicating the location of the assembly.

replacementOk
[out] Returns nonzero (TRUE) if this object's value can be changed; zero (FALSE) if the object is read-only.

Return Value

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

Remarks

This method is used by type visualizers to instantiate a managed viewer.

See also