共用方式為


IVsMacroRecorder.AddTypeLibRef Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'宣告
Function AddTypeLibRef ( _
    ByRef guidTypeLib As Guid, _
    uVerMaj As UInteger, _
    uVerMin As UInteger _
) As Integer
'用途
Dim instance As IVsMacroRecorder
Dim guidTypeLib As Guid
Dim uVerMaj As UInteger
Dim uVerMin As UInteger
Dim returnValue As Integer

returnValue = instance.AddTypeLibRef(guidTypeLib, _
    uVerMaj, uVerMin)
int AddTypeLibRef(
    ref Guid guidTypeLib,
    uint uVerMaj,
    uint uVerMin
)
int AddTypeLibRef(
    [InAttribute] Guid% guidTypeLib, 
    [InAttribute] unsigned int uVerMaj, 
    [InAttribute] unsigned int uVerMin
)
abstract AddTypeLibRef : 
        guidTypeLib:Guid byref * 
        uVerMaj:uint32 * 
        uVerMin:uint32 -> int 
function AddTypeLibRef(
    guidTypeLib : Guid, 
    uVerMaj : uint, 
    uVerMin : uint
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsMacroRecorder Interface

IVsMacroRecorder Members

Microsoft.VisualStudio.Shell.Interop Namespace