Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Summary: Abstract and virtual member

Maira Wenzel edited this pageApr 23, 2019 ·1 revision

The following table provides wording guidelines and boilerplate text for Summary sections for abstract and virtual members of abstract classes.

ItemWordingExamples
Abstract member of an abstract classWhen overridden in a derived class, <continue with a present-tense third-person verb stating what the member does>.XmlWriter.Closemember summary:
When overridden in a derived class, closes this stream and the underlying stream.
Virtual member of an abstract class that does not provide the intended implementationWhen overridden in a derived class, <continue with a present-tense third-person verb stating what the member does>.

Note:
In the Remarks section, include a sentence that explains the default, unintended behavior.
Stream.ReadBytesummary:
When overridden in a derived class, reads the next byte from this stream and advances the current position of the stream by one.

Include the following inStream.ReadByteremarks:
Because theStream class doesn't support reading,ReadByte throws aNotSupportedException exception by default.
Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp