LogIdSet Structure
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
A set of logging IDs.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Structure LogIdSet
public struct LogIdSet
public value class LogIdSet
[<Sealed>]
type LogIdSet = struct end
JScript supports the use of structures, but not the declaration of new ones.
The LogIdSet type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LogIdSet(Int32) | Initializes a new instance of the LogIdSet class. | |
LogIdSet(Int32()) | Initializes a new instance of the LogIdSet class. | |
LogIdSet(Int32, Int32) | Initializes a new instance of the LogIdSet class. |
Top
Properties
Name | Description | |
---|---|---|
All | Gets a value indicating that logging is enabled. | |
IsEmpty | Gets or sets a value indicating whether the LogIdSet object is empty. | |
None | Gets a value indicating that logging is disabled. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an id to a LogIdSet object. | |
Contains | Returns a value indicating whether a LogIdSet object has a specific logging ID. | |
ContainsAny | Returns a value indicating whether a LogIdSet object has any logging ID. | |
Equals | Returns a value that indicates whether two LogIdSet objects are equal. (Overrides ValueType.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Gets the hash code for a LogIdSet object. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove | Removes a logging id from a LogIdSet object. | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) | |
Union | Computes the set-wise union of a LogIdSet object with the current LogIdSet object. |
Top
Operators
Name | Description | |
---|---|---|
Addition | Adds an id to a LogIdSet object. | |
BitwiseAnd | Computes the set-wise intersection of two LogIdSet objects. | |
BitwiseOr | Computes the set-wise union of two LogIdSet objects. | |
Division | Computes the set-wise difference of two LogIdSet objects. | |
Equality | Returns a value that indicates whether two LogIdSet objects are equal. | |
ExclusiveOr | Computes the set-wise symmetric difference of two LogIdSet objects. | |
Inequality | Returns a value that indicates whether two LogIdSet objects are not equal. | |
OnesComplement | Computes the set-wise complement of two LogIdSet objects. | |
Subtraction | Removes a logging id from a LogIdSet object. |
Top
Remarks
The LogIdSet object supports ID values from 0 to 63.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.