다음을 통해 공유


StreamTokenizer.CommentChar(Int32) Method

Definition

Specified that the character argument starts a single-line comment.

[Android.Runtime.Register("commentChar", "(I)V", "GetCommentChar_IHandler")]
public virtual void CommentChar (int ch);
[<Android.Runtime.Register("commentChar", "(I)V", "GetCommentChar_IHandler")>]
abstract member CommentChar : int -> unit
override this.CommentChar : int -> unit

Parameters

ch
Int32

the character.

Attributes

Remarks

Specified that the character argument starts a single-line comment. All characters from the comment character to the end of the line are ignored by this stream tokenizer.

Any other attribute settings for the specified character are cleared.

Java documentation for java.io.StreamTokenizer.commentChar(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to