다음을 통해 공유


ShellUtility.GetAvailableTypeFullNames(ModelElement, Boolean) Method

Definition

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

Applies to