ClassOrStructConstraintSyntax.Update Method
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.
public:
Microsoft::CodeAnalysis::CSharp::Syntax::ClassOrStructConstraintSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken classOrStructKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.ClassOrStructConstraintSyntax Update (Microsoft.CodeAnalysis.SyntaxToken classOrStructKeyword);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ClassOrStructConstraintSyntax
Public Function Update (classOrStructKeyword As SyntaxToken) As ClassOrStructConstraintSyntax
Parameters
- classOrStructKeyword
- SyntaxToken
Returns
Applies to
public Microsoft.CodeAnalysis.CSharp.Syntax.ClassOrStructConstraintSyntax Update (Microsoft.CodeAnalysis.SyntaxToken classOrStructKeyword, Microsoft.CodeAnalysis.SyntaxToken questionToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ClassOrStructConstraintSyntax
Public Function Update (classOrStructKeyword As SyntaxToken, questionToken As SyntaxToken) As ClassOrStructConstraintSyntax
Parameters
- classOrStructKeyword
- SyntaxToken
- questionToken
- SyntaxToken