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
'Declaração
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
- dwRefreshMode
Type: System.UInt32
[in] A value from the ContainedLanguageRefreshMode enumeration indicating what should be recompiled (the file or the whole project).
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.