CompareProjectPropertyResult Structure

Provides storage for the results of a comparison of two properties.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

public struct CompareProjectPropertyResult

Following is an example of the use of CompareProjectPropertyResult. The example verifies that the project name property value is the same as a specified text property value. The compare operator tests for equality.

CompareProjectPropertyResult result = new CompareProjectPropertyResult();
ProjectDataSet projDSet;
ProjectDataSet.ProjectRow PRow = projDSet.Project[0];

if (!PRow.IsPROJ_NAMENull())
      result.CompareResult = ProjectPropertyComparator.Compare(PRow.PROJ_NAME, textPropertyValue, compareOperator);
   result.ValueNotSet = false;

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

Community Additions