IVsProjectResources.CreateResourceDocData(UInt32, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a DocData object for a resource item.
public:
int CreateResourceDocData(System::UInt32 itemidResource, [Runtime::InteropServices::Out] IntPtr % punkDocData);
public int CreateResourceDocData (uint itemidResource, out IntPtr punkDocData);
abstract member CreateResourceDocData : uint32 * nativeint -> int
Public Function CreateResourceDocData (itemidResource As UInteger, ByRef punkDocData As IntPtr) As Integer
Parameters
- itemidResource
- UInt32
[in]The VSITEMID of the resource.
- punkDocData
-
IntPtr
nativeint
[out] Pointer to the Microsoft.VisualStudio.IUnknown interface of the new DocData object.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
[C++]
HRESULT IVsProjectResources::CreateResourceDocData(
[in] VSITEMID itemidResource,
[out, retval] IUnknown** punkDocData
);