共用方式為


IVsContainedLanguage.Refresh Method

Recompiles the language file, or the entire project.

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

Syntax

'宣告
Function Refresh ( _
    dwRefreshMode As UInteger _
) As Integer
int Refresh(
    uint dwRefreshMode
)
int Refresh(
    [InAttribute] unsigned int dwRefreshMode
)
abstract Refresh : 
        dwRefreshMode:uint32 -> int 
function Refresh(
    dwRefreshMode : uint
) : int

Parameters

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT IVsContainedLanguage::Refresh(
   [in] DWORD dwRefreshMode
);

.NET Framework Security

See Also

Reference

IVsContainedLanguage Interface

Microsoft.VisualStudio.TextManager.Interop Namespace