IVsTypeLibraryWrapper.NeedsRegeneration Method

Definition

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

public:
 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);
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 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
Public 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

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From compsvcspkg.idl:

HRESULT IVsTypeLibraryWrapper::NeedsRegeneration(  
   [in] TLIBATTR* pTypeLibToWrap,  
   [in] LPCOLESTR wszKeyFile,  
   [in] LPCOLESTR wszKeyContainerName,  
   [in] BOOL bDelaySign,  
   [in] BOOL bCurrentlyDelaySigned,  
   [in] LPCOLESTR wszExistingWrapperFilename,  
   [out,retval] BOOL* pbNeedsRegeneration  
);  

Applies to