Compartir a través de


IVsResourceManager.GetSatelliteAssemblyPath Method

Retrieves the path to the satellite assembly

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

Syntax

'Declaration
Function GetSatelliteAssemblyPath ( _
    assemblyPath As String, _
    lcid As Integer, _
    <OutAttribute> ByRef pbstrPath As String _
) As Integer
int GetSatelliteAssemblyPath(
    string assemblyPath,
    int lcid,
    out string pbstrPath
)
int GetSatelliteAssemblyPath(
    [InAttribute] String^ assemblyPath, 
    [InAttribute] int lcid, 
    [OutAttribute] String^% pbstrPath
)
abstract GetSatelliteAssemblyPath : 
        assemblyPath:string * 
        lcid:int * 
        pbstrPath:string byref -> int
function GetSatelliteAssemblyPath(
    assemblyPath : String, 
    lcid : int, 
    pbstrPath : String
) : int

Parameters

  • assemblyPath
    Type: String

    [in] Path to the assembly where the resource is to be loaded.

  • lcid
    Type: Int32

    [in] A LCID value specifying the culture for which the resource is valid. Supplying a value of 0 will select the LCID that the user selected when the application was started.

  • pbstrPath
    Type: String%

    [out, retval] Path to the satellite assembly.

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT GetSatelliteAssemblyPath(
   [in, string] LPCOLESTR assemblyPath, 
   [in] int lcid, 
   [out, retval] BSTR *pbstrPath
);

.NET Framework Security

See Also

Reference

IVsResourceManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace