INamedTypeSymbol.Construct 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Construct(ITypeSymbol[]) |
傳回建構型別,指定其型別引數。 |
Construct(ImmutableArray<ITypeSymbol>, ImmutableArray<NullableAnnotation>) |
傳回建構型別,指定其型別引數和類型引數可為 Null 的注釋。 |
Construct(ITypeSymbol[])
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
傳回建構型別,指定其型別引數。
public:
Microsoft::CodeAnalysis::INamedTypeSymbol ^ Construct(... cli::array <Microsoft::CodeAnalysis::ITypeSymbol ^> ^ typeArguments);
public Microsoft.CodeAnalysis.INamedTypeSymbol Construct (params Microsoft.CodeAnalysis.ITypeSymbol[] typeArguments);
abstract member Construct : Microsoft.CodeAnalysis.ITypeSymbol[] -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function Construct (ParamArray typeArguments As ITypeSymbol()) As INamedTypeSymbol
參數
- typeArguments
- ITypeSymbol[]
要針對型別中的型別參數取代的即時型別引數。
傳回
適用於
Construct(ImmutableArray<ITypeSymbol>, ImmutableArray<NullableAnnotation>)
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
傳回建構型別,指定其型別引數和類型引數可為 Null 的注釋。
public Microsoft.CodeAnalysis.INamedTypeSymbol Construct (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> typeArguments, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> typeArgumentNullableAnnotations);
abstract member Construct : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function Construct (typeArguments As ImmutableArray(Of ITypeSymbol), typeArgumentNullableAnnotations As ImmutableArray(Of NullableAnnotation)) As INamedTypeSymbol
參數
- typeArguments
- ImmutableArray<ITypeSymbol>
- typeArgumentNullableAnnotations
- ImmutableArray<NullableAnnotation>