TypeConstraintSyntax.WithType(TypeSyntax) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
public:
Microsoft::CodeAnalysis::CSharp::Syntax::TypeConstraintSyntax ^ WithType(Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type);
public Microsoft.CodeAnalysis.CSharp.Syntax.TypeConstraintSyntax WithType(Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type);
member this.WithType : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.TypeConstraintSyntax
Public Function WithType (type As TypeSyntax) As TypeConstraintSyntax
Paramètres
- type
- TypeSyntax