IVsResourceManager.GetSatelliteAssemblyPath Method

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

Syntax

'宣言
Function GetSatelliteAssemblyPath ( _
    assemblyPath As String, _
    lcid As Integer, _
    <OutAttribute> ByRef pbstrPath As String _
) As Integer
'使用
Dim instance As IVsResourceManager
Dim assemblyPath As String
Dim lcid As Integer
Dim pbstrPath As String
Dim returnValue As Integer

returnValue = instance.GetSatelliteAssemblyPath(assemblyPath, _
    lcid, pbstrPath)
int GetSatelliteAssemblyPath(
    string assemblyPath,
    int lcid,
    out string pbstrPath
)
int GetSatelliteAssemblyPath(
    [InAttribute] String^ assemblyPath, 
    [InAttribute] int lcid, 
    [OutAttribute] String^% pbstrPath
)
function GetSatelliteAssemblyPath(
    assemblyPath : String, 
    lcid : int, 
    pbstrPath : String
) : int

Parameters

  • assemblyPath
    Type: System.String

    Path to the assembly where the resource is to be loaded.

  • lcid
    Type: System.Int32

    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.

Return Value

Type: System.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
);

Permissions

See Also

Reference

IVsResourceManager Interface

IVsResourceManager Members

Microsoft.VisualStudio.Shell.Interop Namespace