共用方式為


PropertyStatementSyntax.WithAsClause(AsClauseSyntax) 方法

定義

傳回這個 的複本,其中 AsClause 屬性已變更為指定的值。 如果指定的值與目前的值相同,則傳回這個實例。

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

參數

asClause
AsClauseSyntax

傳回

適用於