PropertyBlockSyntax.WithPropertyStatement(PropertyStatementSyntax) Method

Definition

Returns a copy of this with the PropertyStatement property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::PropertyBlockSyntax ^ WithPropertyStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::PropertyStatementSyntax ^ propertyStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.PropertyBlockSyntax WithPropertyStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.PropertyStatementSyntax propertyStatement);
member this.WithPropertyStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.PropertyStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.PropertyBlockSyntax
Public Function WithPropertyStatement (propertyStatement As PropertyStatementSyntax) As PropertyBlockSyntax

Parameters

propertyStatement
PropertyStatementSyntax

Returns

Applies to