共用方式為


XmlCrefAttributeSyntax.WithCref(CrefSyntax) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::XmlCrefAttributeSyntax ^ WithCref(Microsoft::CodeAnalysis::CSharp::Syntax::CrefSyntax ^ cref);
public Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax WithCref (Microsoft.CodeAnalysis.CSharp.Syntax.CrefSyntax cref);
member this.WithCref : Microsoft.CodeAnalysis.CSharp.Syntax.CrefSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax
Public Function WithCref (cref As CrefSyntax) As XmlCrefAttributeSyntax

參數

cref
CrefSyntax

傳回

適用於