IExtendedTypeLib::SetExtenderInfo Method (String^, Type^, UInt32)

 

Sets the information for the extending type in the extended type library.

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

int SetExtenderInfo(
	String^ lpstrDirectoryName,
	Type^ ptinfoExtender,
	unsigned int dwReserved
)

Parameters

lpstrDirectoryName
Type: System::String^

[in] Pointer to a string containing the complete path to write out the extended type library. Use NULL if not saving the library.

ptinfoExtender
Type: System::Type^

[in] Pointer to the ITypeInfo for the extending object.

dwReserved
Type: System::UInt32

[in] Not used. Use zero (0) or NULL.

Return Value

Type: System::Int32

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

From objext.idl:

[C++]

HRESULT IExtendedTypeLib::SetExtenderInfo(
   [in] LPCOLESTR lpstrDirectoryName, 
   [in] ITypeInfo *ptinfoExtender, 
   [in] DWORD dwReserved
);
Return to top
Show: