Share via


DeclareStatementSyntax.WithLibraryName(LiteralExpressionSyntax) Method

Definition

Returns a copy of this with the LibraryName 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::DeclareStatementSyntax ^ WithLibraryName(Microsoft::CodeAnalysis::VisualBasic::Syntax::LiteralExpressionSyntax ^ libraryName);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.DeclareStatementSyntax WithLibraryName (Microsoft.CodeAnalysis.VisualBasic.Syntax.LiteralExpressionSyntax libraryName);
member this.WithLibraryName : Microsoft.CodeAnalysis.VisualBasic.Syntax.LiteralExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DeclareStatementSyntax
Public Function WithLibraryName (libraryName As LiteralExpressionSyntax) As DeclareStatementSyntax

Parameters

Returns

Applies to