Share via


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
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
)
abstract NeedsRegeneration : 
        pTypeLibToWrap:TLIBATTR[] * 
        wszKeyFile:string * 
        wszKeyContainerName:string * 
        bDelaySign:int * 
        bCurrentlyDelaySigned:int * 
        wszExistingWrapperFilename:string * 
        pbNeedsRegeneration:int byref -> int 
override NeedsRegeneration : 
        pTypeLibToWrap:TLIBATTR[] * 
        wszKeyFile:string * 
        wszKeyContainerName:string * 
        bDelaySign:int * 
        bCurrentlyDelaySigned:int * 
        wszExistingWrapperFilename:string * 
        pbNeedsRegeneration:int byref -> int 
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

Microsoft.VisualStudio.Shell.Interop Namespace