OperatorStatementSyntax.WithAsClause(SimpleAsClauseSyntax) 方法

定义

返回一个副本,其中 AsClause 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::OperatorStatementSyntax ^ WithAsClause(Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleAsClauseSyntax ^ asClause);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax WithAsClause (Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax asClause);
member this.WithAsClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax
Public Function WithAsClause (asClause As SimpleAsClauseSyntax) As OperatorStatementSyntax

参数

返回

适用于