共用方式為


CSharpSyntaxNode.DeserializeFrom(Stream, CancellationToken) 方法

定義

警告

Syntax serialization support is deprecated and will be removed in a future version of this API

警告

Syntax serialization support is no longer supported

從位元組數據流還原串行化語法節點。

public static Microsoft.CodeAnalysis.SyntaxNode DeserializeFrom (System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default);
[System.Obsolete("Syntax serialization support is deprecated and will be removed in a future version of this API", false)]
public static Microsoft.CodeAnalysis.SyntaxNode DeserializeFrom (System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default);
[System.Obsolete("Syntax serialization support is no longer supported", true)]
public static Microsoft.CodeAnalysis.SyntaxNode DeserializeFrom (System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default);
static member DeserializeFrom : System.IO.Stream * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxNode
[<System.Obsolete("Syntax serialization support is deprecated and will be removed in a future version of this API", false)>]
static member DeserializeFrom : System.IO.Stream * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxNode
[<System.Obsolete("Syntax serialization support is no longer supported", true)>]
static member DeserializeFrom : System.IO.Stream * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxNode
Public Shared Function DeserializeFrom (stream As Stream, Optional cancellationToken As CancellationToken = Nothing) As SyntaxNode

參數

stream
Stream
cancellationToken
CancellationToken

傳回

屬性

適用於