VSPIAImporterClass::NeedsRegeneration Method (array<TLIBATTR>^, String^, String^, Int32, Int32, String^, Int32)

 

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)

public:
virtual int NeedsRegeneration(
	array<TLIBATTR>^ pTypeLibToWrap,
	String^ wszKeyFile,
	String^ wszKeyContainerName,
	int bDelaySign,
	int bCurrentlyDelaySigned,
	String^ wszExistingWrapperFilename,
	[OutAttribute] int% pbNeedsRegeneration
)

Parameters

pTypeLibToWrap
Type: array<Microsoft.VisualStudio.OLE.Interop::TLIBATTR>^

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

wszKeyFile
Type: System::String^

[in] Specifies wszkey file.

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

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

Return to top
Show: