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)
Syntax
'Declaration
<SerializableAttribute> _
Public Structure CompareProjectPropertyResult
'Usage
Dim instance As CompareProjectPropertyResult
[SerializableAttribute]
public struct CompareProjectPropertyResult
Remarks
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.
Examples
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.