Share via


IVsDataProvider.GetMainAssembly Method

Gets the provider’s main assembly.

Namespace:  Microsoft.VisualStudio.Data.Core
Assembly:  Microsoft.VisualStudio.Data.Core (in Microsoft.VisualStudio.Data.Core.dll)

Syntax

'Declaration
Function GetMainAssembly As Assembly
Assembly GetMainAssembly()
Assembly^ GetMainAssembly()
abstract GetMainAssembly : unit -> Assembly
function GetMainAssembly() : Assembly

Return Value

Type: System.Reflection.Assembly
An Assembly object that represents the provider’s main assembly.

Exceptions

Exception Condition
[<ANY>]

The DDEX provider’s GetAssembly implementation threw an exception.

Remarks

This method delegates to the GetAssembly method, passing Empty as the value of the assemblyString parameter. It is expected that a DDEX provider will implement the GetAssembly method in such a way that when an empty assembly string is passed in, it returns the main assembly. This is typically the assembly that contains the set of core support entity implementations.

.NET Framework Security

See Also

Reference

IVsDataProvider Interface

Microsoft.VisualStudio.Data.Core Namespace