SetVBOptionCodeGenerator.Explicit(Boolean) 方法

定義

此類型/成員支援.NET Framework基礎結構,不適合直接從您的程式碼使用。將 SetVBOptionCodeGenerator 明確轉換為 on 和 off 值。

public static System.Web.Razor.Generator.SetVBOptionCodeGenerator Explicit (bool onOffValue);
static member Explicit : bool -> System.Web.Razor.Generator.SetVBOptionCodeGenerator
Public Shared Function Explicit (onOffValue As Boolean) As SetVBOptionCodeGenerator

參數

onOffValue
Boolean

如果 SetVBOptionCodeGenerator 轉換成 on 和 off 值,則為 true;否則為 false。

傳回

SetVBOptionCodeGenerator會明確轉換成 on 和 off 值。

適用於