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
'宣告
Function GetUnifiedAssemblyName ( _
wszFrameworkDirectory As String, _
wszSimpleAssemblyName As String, _
wszFullAssemblyName As String, _
<OutAttribute> ByRef pbstrUnifiedAssemblyName As String _
) As Integer
'用途
Dim instance As IVsAssemblyNameUnification
Dim wszFrameworkDirectory As String
Dim wszSimpleAssemblyName As String
Dim wszFullAssemblyName As String
Dim pbstrUnifiedAssemblyName As String
Dim returnValue As Integer
returnValue = instance.GetUnifiedAssemblyName(wszFrameworkDirectory, _
wszSimpleAssemblyName, wszFullAssemblyName, _
pbstrUnifiedAssemblyName)
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: System.String
[in] String containing the directory of the .NET Framework assemblies list, Framework.xml.
- wszSimpleAssemblyName
Type: System.String
[in] String containing the simple assembly name.
- wszFullAssemblyName
Type: System.String
[in] String containing the full assembly name.
- pbstrUnifiedAssemblyName
Type: System.String%
[out] String containing the unified assembly name.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.
See Also
Reference
IVsAssemblyNameUnification Interface