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
- guidTypeLib
Type: System.Guid%
- uVerMaj
Type: System.UInt32
- uVerMin
Type: System.UInt32
Return Value
Type: System.Int32
.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.