SyntaxNode.GetRed<T>(T, Int32) 方法

定义

protected:
generic <typename T>
 where T : Microsoft::CodeAnalysis::SyntaxNode T GetRed(T % field, int slot);
protected T GetRed<T> (ref T field, int slot) where T : Microsoft.CodeAnalysis.SyntaxNode;
protected T? GetRed<T> (ref T? field, int slot) where T : Microsoft.CodeAnalysis.SyntaxNode;
member this.GetRed : 'T * int -> 'T (requires 'T :> Microsoft.CodeAnalysis.SyntaxNode)
Protected Function GetRed(Of T As SyntaxNode) (ByRef field As T, slot As Integer) As T

类型参数

T

参数

field
T
slot
Int32

返回

T

适用于