ShellUtility.GetAvailableTypeFullNames(ModelElement, Boolean) 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.
For the given rootElement, this method returns types (in short name form) in the current project where the DocData of this rootElement resides.
public:
static System::Collections::Generic::Dictionary<System::String ^, Type ^> ^ GetAvailableTypeFullNames(Microsoft::VisualStudio::Modeling::ModelElement ^ rootElement, bool includeTypesInReferenceAssemblies);
public static System.Collections.Generic.Dictionary<string,Type> GetAvailableTypeFullNames (Microsoft.VisualStudio.Modeling.ModelElement rootElement, bool includeTypesInReferenceAssemblies);
static member GetAvailableTypeFullNames : Microsoft.VisualStudio.Modeling.ModelElement * bool -> System.Collections.Generic.Dictionary<string, Type>
Public Shared Function GetAvailableTypeFullNames (rootElement As ModelElement, includeTypesInReferenceAssemblies As Boolean) As Dictionary(Of String, Type)
Parameters
- rootElement
- ModelElement
RootElement associdate with the ModelingDocData
- includeTypesInReferenceAssemblies
- Boolean
Indicates whether to include types in the referenced assemblies of the project
Returns
A dictionary where key is name and value is System.Type