Partager via


IVsAssemblyNameUnification.GetUnifiedAssemblyName Method

Returns the name of the unified assembly.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetUnifiedAssemblyName ( _
    wszFrameworkDirectory As String, _
    wszSimpleAssemblyName As String, _
    wszFullAssemblyName As String, _
    <OutAttribute> ByRef pbstrUnifiedAssemblyName As String _
) As Integer
int GetUnifiedAssemblyName(
    string wszFrameworkDirectory,
    string wszSimpleAssemblyName,
    string wszFullAssemblyName,
    out string pbstrUnifiedAssemblyName
)
int GetUnifiedAssemblyName(
    [InAttribute] String^ wszFrameworkDirectory, 
    [InAttribute] String^ wszSimpleAssemblyName, 
    [InAttribute] String^ wszFullAssemblyName, 
    [OutAttribute] String^% pbstrUnifiedAssemblyName
)
abstract GetUnifiedAssemblyName : 
        wszFrameworkDirectory:string * 
        wszSimpleAssemblyName:string * 
        wszFullAssemblyName:string * 
        pbstrUnifiedAssemblyName:string byref -> int
function GetUnifiedAssemblyName(
    wszFrameworkDirectory : String, 
    wszSimpleAssemblyName : String, 
    wszFullAssemblyName : String, 
    pbstrUnifiedAssemblyName : String
) : int

Parameters

  • wszFrameworkDirectory
    Type: String

    [in] String containing the directory of the .NET Framework assemblies list, Framework.xml.

  • wszSimpleAssemblyName
    Type: String

    [in] String containing the simple assembly name.

  • wszFullAssemblyName
    Type: String

    [in] String containing the full assembly name.

  • pbstrUnifiedAssemblyName
    Type: String%

    [out] String containing the unified assembly name.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsAssemblyNameUnification Interface

Microsoft.VisualStudio.Shell.Interop Namespace