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
用法
Dim instance As IVsContainedLanguage
Dim dwRefreshMode As UInteger
Dim returnValue As Integer

returnValue = instance.Refresh(dwRefreshMode)
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

IVsContainedLanguage Members

Microsoft.VisualStudio.TextManager.Interop Namespace