SyntaxNode.GetRed<T>(T, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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