IExtendedTypeLib.SetExtenderInfo Method

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)

Syntax

'Declaration
Function SetExtenderInfo ( _
    lpstrDirectoryName As String, _
    ptinfoExtender As Type, _
    dwReserved As UInteger _
) As Integer
int SetExtenderInfo(
    string lpstrDirectoryName,
    Type ptinfoExtender,
    uint dwReserved
)
int SetExtenderInfo(
    [InAttribute] String^ lpstrDirectoryName, 
    [InAttribute] Type^ ptinfoExtender, 
    [InAttribute] unsigned int dwReserved
)
abstract SetExtenderInfo : 
        lpstrDirectoryName:string * 
        ptinfoExtender:Type * 
        dwReserved:uint32 -> int 
function SetExtenderInfo(
    lpstrDirectoryName : String, 
    ptinfoExtender : Type, 
    dwReserved : uint
) : int

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.
  • 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.

Remarks

COM Signature

From objext.idl:

[C++]

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

.NET Framework Security

See Also

Reference

IExtendedTypeLib Interface

Microsoft.VisualStudio.Shell.Interop Namespace