다음을 통해 공유


SyntaxFactory.ObjectCreationExpression 메서드

정의

오버로드

ObjectCreationExpression(SyntaxToken, SyntaxList<AttributeListSyntax>, TypeSyntax, ArgumentListSyntax, ObjectCreationInitializerSyntax)

"With" 또는 "From" 절을 사용하여 배열이 아닌 새 개체를 만드는 새 식을 나타냅니다.

ObjectCreationExpression(SyntaxList<AttributeListSyntax>, TypeSyntax, ArgumentListSyntax, ObjectCreationInitializerSyntax)

"With" 또는 "From" 절을 사용하여 배열이 아닌 새 개체를 만드는 새 식을 나타냅니다.

ObjectCreationExpression(TypeSyntax)

"With" 또는 "From" 절을 사용하여 배열이 아닌 새 개체를 만드는 새 식을 나타냅니다.

ObjectCreationExpression(SyntaxToken, SyntaxList<AttributeListSyntax>, TypeSyntax, ArgumentListSyntax, ObjectCreationInitializerSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

"With" 또는 "From" 절을 사용하여 배열이 아닌 새 개체를 만드는 새 식을 나타냅니다.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectCreationExpressionSyntax ^ ObjectCreationExpression(Microsoft::CodeAnalysis::SyntaxToken newKeyword, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::VisualBasic::Syntax::ArgumentListSyntax ^ argumentList, Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectCreationInitializerSyntax ^ initializer);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCreationExpressionSyntax ObjectCreationExpression (Microsoft.CodeAnalysis.SyntaxToken newKeyword, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax argumentList, Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCreationInitializerSyntax initializer);
static member ObjectCreationExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCreationInitializerSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCreationExpressionSyntax
Public Shared Function ObjectCreationExpression (newKeyword As SyntaxToken, attributeLists As SyntaxList(Of AttributeListSyntax), type As TypeSyntax, argumentList As ArgumentListSyntax, initializer As ObjectCreationInitializerSyntax) As ObjectCreationExpressionSyntax

매개 변수

newKeyword
SyntaxToken

"New" 키워드입니다.

attributeLists
SyntaxList<AttributeListSyntax>

형식의 모든 특성 목록 목록입니다. 특성을 지정하지 않으면 빈 목록이 반환됩니다.

type
TypeSyntax

초기화할 개체의 형식입니다.

argumentList
ArgumentListSyntax

인수 목록(있는 경우)입니다. 인수 목록이 제공되지 않으면 Nothing이 반환됩니다.

initializer
ObjectCreationInitializerSyntax

새 개체를 초기화하는 선택적 From 또는 With 절입니다.

반환

적용 대상

ObjectCreationExpression(SyntaxList<AttributeListSyntax>, TypeSyntax, ArgumentListSyntax, ObjectCreationInitializerSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

"With" 또는 "From" 절을 사용하여 배열이 아닌 새 개체를 만드는 새 식을 나타냅니다.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectCreationExpressionSyntax ^ ObjectCreationExpression(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::VisualBasic::Syntax::ArgumentListSyntax ^ argumentList, Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectCreationInitializerSyntax ^ initializer);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCreationExpressionSyntax ObjectCreationExpression (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax argumentList, Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCreationInitializerSyntax initializer);
static member ObjectCreationExpression : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCreationInitializerSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCreationExpressionSyntax
Public Shared Function ObjectCreationExpression (attributeLists As SyntaxList(Of AttributeListSyntax), type As TypeSyntax, argumentList As ArgumentListSyntax, initializer As ObjectCreationInitializerSyntax) As ObjectCreationExpressionSyntax

매개 변수

attributeLists
SyntaxList<AttributeListSyntax>

형식의 모든 특성 목록 목록입니다. 특성을 지정하지 않으면 빈 목록이 반환됩니다.

type
TypeSyntax

초기화할 개체의 형식입니다.

argumentList
ArgumentListSyntax

인수 목록(있는 경우)입니다. 인수 목록이 제공되지 않으면 Nothing이 반환됩니다.

initializer
ObjectCreationInitializerSyntax

새 개체를 초기화하는 선택적 From 또는 With 절입니다.

반환

적용 대상

ObjectCreationExpression(TypeSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

"With" 또는 "From" 절을 사용하여 배열이 아닌 새 개체를 만드는 새 식을 나타냅니다.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectCreationExpressionSyntax ^ ObjectCreationExpression(Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ type);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCreationExpressionSyntax ObjectCreationExpression (Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax type);
static member ObjectCreationExpression : Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCreationExpressionSyntax
Public Shared Function ObjectCreationExpression (type As TypeSyntax) As ObjectCreationExpressionSyntax

매개 변수

type
TypeSyntax

초기화할 개체의 형식입니다.

반환

적용 대상