Udostępnij za pośrednictwem


VBCodeParser.IsDirectiveDefined(String) Metoda

Definicja

Ten typ/element członkowski obsługuje infrastrukturę .NET Framework i nie jest przeznaczony do użycia bezpośrednio z kodu. Określa, czy kod jest zdefiniowaną dyrektywą.

public bool IsDirectiveDefined (string directive);
member this.IsDirectiveDefined : string -> bool
Public Function IsDirectiveDefined (directive As String) As Boolean

Parametry

directive
String

Dyrektywa.

Zwraca

wartość true, jeśli kod jest zdefiniowaną dyrektywą; w przeciwnym razie wartość false.

Dotyczy