IVsTypeLibraryWrapper.NeedsRegeneration Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
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
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
int NeedsRegeneration(
TLIBATTR[] pTypeLibToWrap,
string wszKeyFile,
string wszKeyContainerName,
int bDelaySign,
int bCurrentlyDelaySigned,
string wszExistingWrapperFilename,
out int pbNeedsRegeneration
)
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
function NeedsRegeneration(
pTypeLibToWrap : TLIBATTR[],
wszKeyFile : String,
wszKeyContainerName : String,
bDelaySign : int,
bCurrentlyDelaySigned : int,
wszExistingWrapperFilename : String,
pbNeedsRegeneration : int
) : int
Parameters
pTypeLibToWrap
Type: array<Microsoft.VisualStudio.OLE.Interop.TLIBATTR[][in] Pointer to a type library to be wrapped.
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
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.