Visual Basic .NET LanguageUsing Statement

Syntax

  • Using a = New DisposableClass [, b = ...]
    ...
    End Using

  • Using a = GetDisposable(...) [, b = ...]
    ...
    End Using

Related Examples

See examples under Disposable objects