IVsProjectResources::CreateResourceDocData Method (UInt32, IntPtr)

 

Creates a DocData object for a resource item.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int CreateResourceDocData(
	unsigned int itemidResource,
	[OutAttribute] IntPtr% punkDocData
)

Parameters

itemidResource
Type: System::UInt32

[in]The VSITEMID of the resource.

punkDocData
Type: System::IntPtr

[out] Pointer to the T:Microsoft.VisualStudio.IUnknown interface of the new DocData object.

Return Value

Type: System::Int32

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

From vsshell.idl:

[C++]

HRESULT IVsProjectResources::CreateResourceDocData(
   [in] VSITEMID itemidResource, 
   [out, retval] IUnknown** punkDocData
);
Return to top
Show: