Partilhar via


XmlCrefAttributeSyntax.WithReference(CrefReferenceSyntax) Method

Definition

Returns a copy of this with the Reference 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::XmlCrefAttributeSyntax ^ WithReference(Microsoft::CodeAnalysis::VisualBasic::Syntax::CrefReferenceSyntax ^ reference);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlCrefAttributeSyntax WithReference (Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefReferenceSyntax reference);
member this.WithReference : Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefReferenceSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlCrefAttributeSyntax
Public Function WithReference (reference As CrefReferenceSyntax) As XmlCrefAttributeSyntax

Parameters

Returns

Applies to