次の方法で共有


SyntaxFactory.DeclarationExpression メソッド

定義

新しい DeclarationExpressionSyntax インスタンスを作成します。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::DeclarationExpressionSyntax ^ DeclarationExpression(Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::CSharp::Syntax::VariableDesignationSyntax ^ designation);
public static Microsoft.CodeAnalysis.CSharp.Syntax.DeclarationExpressionSyntax DeclarationExpression (Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax designation);
static member DeclarationExpression : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.DeclarationExpressionSyntax
Public Shared Function DeclarationExpression (type As TypeSyntax, designation As VariableDesignationSyntax) As DeclarationExpressionSyntax

パラメーター

type
TypeSyntax

戻り値

適用対象