Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
StaticLocalInitFlag Class

StaticLocalInitFlag Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The Visual Basic compiler uses this class internally when initializing static local members; it is not meant to be called directly from your code.

System.Object
  Microsoft.VisualBasic.CompilerServices.StaticLocalInitFlag

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

[SerializableAttribute]
public sealed class StaticLocalInitFlag

The StaticLocalInitFlag type exposes the following members.

  NameDescription
Public methodStaticLocalInitFlagInfrastructure. Initializes a new instance of the StaticLocalInitFlag class.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStateInfrastructure. Returns the state of the static local member's initialization flag (initialized or not).
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft