Share via


VSPIAImporterClass.NeedsRegeneration Method

Definition

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

public:
 virtual int NeedsRegeneration(cli::array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> ^ pTypeLibToWrap, System::String ^ wszKeyFile, System::String ^ wszKeyContainerName, int bDelaySign, int bCurrentlyDelaySigned, System::String ^ wszExistingWrapperFilename, [Runtime::InteropServices::Out] int % pbNeedsRegeneration) = Microsoft::VisualStudio::Shell::Interop::IVsTypeLibraryWrapper::NeedsRegeneration;
public:
 virtual int NeedsRegeneration(cli::array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> ^ pTypeLibToWrap, System::String ^ wszKeyFile, System::String ^ wszKeyContainerName, int bDelaySign, int bCurrentlyDelaySigned, System::String ^ wszExistingWrapperFilename, [Runtime::InteropServices::Out] int % pbNeedsRegeneration);
 virtual int NeedsRegeneration(std::Array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> const & pTypeLibToWrap, std::wstring const & wszKeyFile, std::wstring const & wszKeyContainerName, int bDelaySign, int bCurrentlyDelaySigned, std::wstring const & wszExistingWrapperFilename, [Runtime::InteropServices::Out] int & pbNeedsRegeneration);
public virtual int NeedsRegeneration (Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] pTypeLibToWrap, string wszKeyFile, string wszKeyContainerName, int bDelaySign, int bCurrentlyDelaySigned, string wszExistingWrapperFilename, out int pbNeedsRegeneration);
abstract member NeedsRegeneration : Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] * string * string * int * int * string * int -> int
override this.NeedsRegeneration : Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] * string * string * int * int * string * int -> int
Public Overridable Function NeedsRegeneration (pTypeLibToWrap As TLIBATTR(), wszKeyFile As String, wszKeyContainerName As String, bDelaySign As Integer, bCurrentlyDelaySigned As Integer, wszExistingWrapperFilename As String, ByRef pbNeedsRegeneration As Integer) As Integer

Parameters

pTypeLibToWrap
TLIBATTR[]

[in] Pointer to a type library to be wrapped.

wszKeyFile
String

[in] Specifies wszkey file.

wszKeyContainerName
String

[in] Specifies wszkey container name.

bDelaySign
Int32

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

bCurrentlyDelaySigned
Int32

[in] Boolean indicating whether currently delay signed.

wszExistingWrapperFilename
String

[in] Specifies the wrapper filename.

pbNeedsRegeneration
Int32

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

Returns

Returns S_OK if the method is successful, E_FAIL if the method fails.

Implements

Applies to