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)


<SerializableAttribute> _
Public Structure CompareProjectPropertyResult
Dim instance As CompareProjectPropertyResult
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;

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


CompareProjectPropertyResult Members

Microsoft.Office.Project.Server.Library Namespace