Utf8JsonReader.GetComment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses the current JSON token value from the source as a comment and transcodes it as a String.
public:
System::String ^ GetComment();
public string GetComment ();
member this.GetComment : unit -> string
Public Function GetComment () As String
Returns
The comment that represents the current JSON token value.
Exceptions
The JSON token is not a comment.
Remarks
This is only applicable when the reader is constructed using the Allow option. Otherwise, the TokenType will never be Comment.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.