INamespaceOrTypeSymbol.GetTypeMembers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetTypeMembers() |
Get all the members of this symbol that are types. |
GetTypeMembers(String) |
Get all the members of this symbol that are types that have a particular name, of any arity. |
GetTypeMembers(String, Int32) |
Get all the members of this symbol that are types that have a particular name and arity |
GetTypeMembers()
Get all the members of this symbol that are types.
public:
System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::INamedTypeSymbol ^> GetTypeMembers();
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.INamedTypeSymbol> GetTypeMembers ();
abstract member GetTypeMembers : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.INamedTypeSymbol>
Public Function GetTypeMembers () As ImmutableArray(Of INamedTypeSymbol)
Returns
An ImmutableArray containing all the types that are members of this symbol. If this symbol has no type members, returns an empty ImmutableArray. Never returns null.
Applies to
GetTypeMembers(String)
Get all the members of this symbol that are types that have a particular name, of any arity.
public:
System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::INamedTypeSymbol ^> GetTypeMembers(System::String ^ name);
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.INamedTypeSymbol> GetTypeMembers (string name);
abstract member GetTypeMembers : string -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.INamedTypeSymbol>
Public Function GetTypeMembers (name As String) As ImmutableArray(Of INamedTypeSymbol)
Parameters
- name
- String
Returns
An ImmutableArray containing all the types that are members of this symbol with the given name. If this symbol has no type members with this name, returns an empty ImmutableArray. Never returns null.
Applies to
GetTypeMembers(String, Int32)
Get all the members of this symbol that are types that have a particular name and arity
public:
System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::INamedTypeSymbol ^> GetTypeMembers(System::String ^ name, int arity);
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.INamedTypeSymbol> GetTypeMembers (string name, int arity);
abstract member GetTypeMembers : string * int -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.INamedTypeSymbol>
Public Function GetTypeMembers (name As String, arity As Integer) As ImmutableArray(Of INamedTypeSymbol)
Parameters
- name
- String
- arity
- Int32
Returns
An ImmutableArray containing all the types that are members of this symbol with the given name and arity. If this symbol has no type members with this name and arity, returns an empty ImmutableArray. Never returns null.
Applies to
Feedback
Submit and view feedback for