IExtendedTypeLib.SetExtenderInfo Method
Sets the information for the extending type in the extended type library.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function SetExtenderInfo ( _
lpstrDirectoryName As String, _
ptinfoExtender As Type, _
dwReserved As UInteger _
) As Integer
int SetExtenderInfo(
string lpstrDirectoryName,
Type ptinfoExtender,
uint dwReserved
)
int SetExtenderInfo(
[InAttribute] String^ lpstrDirectoryName,
[InAttribute] Type^ ptinfoExtender,
[InAttribute] unsigned int dwReserved
)
abstract SetExtenderInfo :
lpstrDirectoryName:string *
ptinfoExtender:Type *
dwReserved:uint32 -> int
function SetExtenderInfo(
lpstrDirectoryName : String,
ptinfoExtender : Type,
dwReserved : uint
) : int
Parameters
lpstrDirectoryName
Type: String[in] Pointer to a string containing the complete path to write out the extended type library. Use NULL if not saving the library.
ptinfoExtender
Type: Type[in] Pointer to the ITypeInfo for the extending object.
dwReserved
Type: UInt32[in] Not used. Use zero (0) or NULL.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From objext.idl:
[C++]
HRESULT IExtendedTypeLib::SetExtenderInfo(
[in] LPCOLESTR lpstrDirectoryName,
[in] ITypeInfo *ptinfoExtender,
[in] DWORD dwReserved
);
.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.