VSPIAImporterClass.NeedsRegeneration Method

Determines whether a given wrapper for a given type library needs to be regenerated.

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

Syntax

'Declaration
Public Overridable Function NeedsRegeneration ( _
    pTypeLibToWrap As TLIBATTR(), _
    wszKeyFile As String, _
    wszKeyContainerName As String, _
    bDelaySign As Integer, _
    bCurrentlyDelaySigned As Integer, _
    wszExistingWrapperFilename As String, _
    <OutAttribute> ByRef pbNeedsRegeneration As Integer _
) As Integer
'Usage
Dim instance As VSPIAImporterClass 
Dim pTypeLibToWrap As TLIBATTR()
Dim wszKeyFile As String 
Dim wszKeyContainerName As String 
Dim bDelaySign As Integer 
Dim bCurrentlyDelaySigned As Integer 
Dim wszExistingWrapperFilename As String 
Dim pbNeedsRegeneration As Integer 
Dim returnValue As Integer 

returnValue = instance.NeedsRegeneration(pTypeLibToWrap, _
    wszKeyFile, wszKeyContainerName, _
    bDelaySign, bCurrentlyDelaySigned, _
    wszExistingWrapperFilename, pbNeedsRegeneration)
public virtual int NeedsRegeneration(
    TLIBATTR[] pTypeLibToWrap,
    string wszKeyFile,
    string wszKeyContainerName,
    int bDelaySign,
    int bCurrentlyDelaySigned,
    string wszExistingWrapperFilename,
    out int pbNeedsRegeneration
)
public:
virtual int NeedsRegeneration(
    [InAttribute] array<TLIBATTR>^ pTypeLibToWrap, 
    [InAttribute] String^ wszKeyFile, 
    [InAttribute] String^ wszKeyContainerName, 
    [InAttribute] int bDelaySign, 
    [InAttribute] int bCurrentlyDelaySigned, 
    [InAttribute] String^ wszExistingWrapperFilename, 
    [OutAttribute] int% pbNeedsRegeneration
)
public function NeedsRegeneration(
    pTypeLibToWrap : TLIBATTR[], 
    wszKeyFile : String, 
    wszKeyContainerName : String, 
    bDelaySign : int, 
    bCurrentlyDelaySigned : int, 
    wszExistingWrapperFilename : String, 
    pbNeedsRegeneration : int
) : int

Parameters

  • wszKeyContainerName
    Type: System.String

    [in] Specifies wszkey container name.

  • bDelaySign
    Type: System.Int32

    [in] Boolean indicating whether delay signed. If true, the assembly is partially signed.

  • bCurrentlyDelaySigned
    Type: System.Int32

    [in] Boolean indicating whether currently delay signed.

  • wszExistingWrapperFilename
    Type: System.String

    [in] Specifies the wrapper filename.

  • pbNeedsRegeneration
    Type: System.Int32%

    [out] false if the wrapper does not need to be regenerated. true if the wrapper needs to be regenerated.

Return Value

Type: System.Int32

Implements

IVsTypeLibraryWrapper.NeedsRegeneration(array<TLIBATTR[], String, String, Int32, Int32, String, Int32%)

.NET Framework Security

See Also

Reference

VSPIAImporterClass Class

VSPIAImporterClass Members

Microsoft.VisualStudio.Shell.Interop Namespace