ShellUtility.GetAvailableTypeFullNames Method
For the given rootElement, this method returns types (in short name form) in the current project where the DocData of this rootElement resides.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function GetAvailableTypeFullNames ( _
rootElement As ModelElement, _
includeTypesInReferenceAssemblies As Boolean _
) As Dictionary(Of String, Type)
public static Dictionary<string, Type> GetAvailableTypeFullNames(
ModelElement rootElement,
bool includeTypesInReferenceAssemblies
)
public:
static Dictionary<String^, Type^>^ GetAvailableTypeFullNames(
ModelElement^ rootElement,
bool includeTypesInReferenceAssemblies
)
static member GetAvailableTypeFullNames :
rootElement:ModelElement *
includeTypesInReferenceAssemblies:bool -> Dictionary<string, Type>
public static function GetAvailableTypeFullNames(
rootElement : ModelElement,
includeTypesInReferenceAssemblies : boolean
) : Dictionary<String, Type>
Parameters
rootElement
Type: Microsoft.VisualStudio.Modeling.ModelElementRootElement associdate with the ModelingDocData
includeTypesInReferenceAssemblies
Type: System.BooleanIndicates whether to include types in the referenced assemblies of the project
Return Value
Type: System.Collections.Generic.Dictionary<String, Type>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.