Sdílet prostřednictvím


IVsProjectResources.CreateResourceDocData(UInt32, IntPtr) Method

Definition

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  
);  

Applies to