Partager 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

  • wszKeyFile
    Type: String

    [in] Specifies wszkey file.

  • wszKeyContainerName
    Type: String

    [in] Specifies wszkey container name.

  • bDelaySign
    Type: Int32

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

  • bCurrentlyDelaySigned
    Type: Int32

    [in] Boolean indicating whether currently delay signed.

  • wszExistingWrapperFilename
    Type: String

    [in] Specifies the wrapper filename.

  • pbNeedsRegeneration
    Type: Int32%

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

Return Value

Type: Int32
Returns S_OK if the method is successful, E_FAIL if the method fails.

Implements

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

.NET Framework Security

See Also

Reference

VSPIAImporterClass Class

Microsoft.VisualStudio.Shell.Interop Namespace