MemoryFree Method (Int32)

NI-VisaNS .NET Class Library Help for Visual Studio 2010

Edition Date: August 2012

Part Number: 370627F-01

»View Product Info
Download Help (Windows Only)

VxiSession Class See Also


NOTE: This method is obsolete.

Frees memory previously allocated using the MemoryAllocate method.

Namespace: NationalInstruments.VisaNS

Assembly: NationalInstruments.VisaNS (in NationalInstruments.VisaNS.dll) Version: 13.0.40.167

Syntax

Visual Basic (Declaration)
<ObsoleteAttribute("Use the other overload of MemoryFree to achieve similar functionality.")> _
Public Sub MemoryFree ( _
	offset As Integer _
)

C#
[ObsoleteAttribute("Use the other overload of MemoryFree to achieve similar functionality.")]
public void MemoryFree(
	int offset
)

Parameters

offset
Type: System.Int32
Offset of the memory previously allocated with the MemoryAllocate method.

Exceptions

ExceptionCondition
VisaException The NI-VISA driver returned an error as a result of calling this method.
ArgumentException offset is invalid.
DllNotFoundException The NI-VISA driver library cannot be found.
EntryPointNotFoundException A required operation in the NI-VISA driver library cannot be found.
ObjectDisposedException This member is called after the Dispose method is called directly from code or indirectly through a finalizer.

Remarks

This member is obsolete. Use the other overload of MemoryFree to achieve similar functionality.

See Also

Reference

VxiSession Class

NationalInstruments.VisaNS Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful