Udostępnij za pośrednictwem


IVsResourceManager.GetSatelliteAssemblyPath Method

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: 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
);

.NET Framework Security

See Also

Reference

IVsResourceManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace