Share via


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
Public method LogIdSet(Int32) Initializes a new instance of the LogIdSet class.
Public method LogIdSet(Int32()) Initializes a new instance of the LogIdSet class.
Public method LogIdSet(Int32, Int32) Initializes a new instance of the LogIdSet class.

Top

Properties

  Name Description
Public propertyStatic member All Gets a value indicating that logging is enabled.
Public property IsEmpty Gets or sets a value indicating whether the LogIdSet object is empty.
Public propertyStatic member None Gets a value indicating that logging is disabled.

Top

Methods

  Name Description
Public method Add Adds an id to a LogIdSet object.
Public method Contains Returns a value indicating whether a LogIdSet object has a specific logging ID.
Public method ContainsAny Returns a value indicating whether a LogIdSet object has any logging ID.
Public method Equals Returns a value that indicates whether two LogIdSet objects are equal. (Overrides ValueType.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets the hash code for a LogIdSet object. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes a logging id from a LogIdSet object.
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)
Public method Union Computes the set-wise union of a LogIdSet object with the current LogIdSet object.

Top

Operators

  Name Description
Public operatorStatic member Addition Adds an id to a LogIdSet object.
Public operatorStatic member BitwiseAnd Computes the set-wise intersection of two LogIdSet objects.
Public operatorStatic member BitwiseOr Computes the set-wise union of two LogIdSet objects.
Public operatorStatic member Division Computes the set-wise difference of two LogIdSet objects.
Public operatorStatic member Equality Returns a value that indicates whether two LogIdSet objects are equal.
Public operatorStatic member ExclusiveOr Computes the set-wise symmetric difference of two LogIdSet objects.
Public operatorStatic member Inequality Returns a value that indicates whether two LogIdSet objects are not equal.
Public operatorStatic member OnesComplement Computes the set-wise complement of two LogIdSet objects.
Public operatorStatic member 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.

See Also

Reference

Microsoft.SolverFoundation.Common Namespace