Delen via


WithEventsPropertyEventContainerSyntax.WithWithEventsContainer Method

Definition

Returns a copy of this with the WithEventsContainer 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::WithEventsPropertyEventContainerSyntax ^ WithWithEventsContainer(Microsoft::CodeAnalysis::VisualBasic::Syntax::WithEventsEventContainerSyntax ^ withEventsContainer);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.WithEventsPropertyEventContainerSyntax WithWithEventsContainer (Microsoft.CodeAnalysis.VisualBasic.Syntax.WithEventsEventContainerSyntax withEventsContainer);
member this.WithWithEventsContainer : Microsoft.CodeAnalysis.VisualBasic.Syntax.WithEventsEventContainerSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WithEventsPropertyEventContainerSyntax
Public Function WithWithEventsContainer (withEventsContainer As WithEventsEventContainerSyntax) As WithEventsPropertyEventContainerSyntax

Parameters

withEventsContainer
WithEventsEventContainerSyntax

Returns

Applies to