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