English 中文(简体)
Overloaded signification on msdn
原标题:

I don t understand what does the overloaded term mean in the context of msdn library s page for MemoryStream Close method (or others like Dispose).

See the page here. To me, overloaded points out the fact that you are providing a method with the same name but different signature than an existing one AND in the same class.

In this case, there s no existing Close method. Shouldn t it be override instead? Thanks!

最佳回答

Hmm... it looks more like an MSDN glitch. From what I can see MemoryStream doesn t override, overload or re-declare (new) the Close() method. Not sure what MSDN is up to, to be honest.

I wonder if this distinction only exists for documentation purposes, because there are no unmanaged resources for a MemoryStream (and indeed the underlying buffer is still available).

Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.

vs

Closes the stream for reading and writing.

it does override Dispose(bool), though.

问题回答

暂无回答




相关问题
LINK ERROR in VC++

I needed help making sense out of the following LNK error which i am getting. SwitchFunctions error LNK2019: unresolved external symbol "__declspec(dllimport) ??$?8DU?$char_traits@D@std@@V?$allocator@...

ArrayList and Array difference

With reference to MSDN, It is stated that "You can set the lower bound of an Array, but the lower bound of an ArrayList is always zero" If i declare an array a[10], the lower bound is always a[0]. ...

Quick MSDN Search in Firefox

Is there a way to get an MSDN search bar in Firefox which will autocomplete .Net class and member names (and preferably also Win32 API methods) and take me directly to the MSDN page? Google toolbar ...

Which version of MSDN subscription / cheapest source [closed]

I ve searched here for the various MSDN subscription questions, but the answers I ve found are either Empower or MVP focused, or out of date with their answer links. I m mostly a Delphi developer (...

where are the official directx forums?

I have been checking around MSDN and Microsoft.com but i can only find Archived forums. Are there any microsoft run forums for DirectX anymore?

Overloaded signification on msdn

I don t understand what does the overloaded term mean in the context of msdn library s page for MemoryStream Close method (or others like Dispose). See the page here. To me, overloaded points out the ...

热门标签