This property specifies the property ID and, with the PropGuid property, uniquely identifies this column for indexing, search and retrieve purposes.
Syntax
IColumn.PropPid
Remarks
The PropPid property must be a text string specifying the property ID value. The string may be either a string representation of a decimal number, or an arbitrary string of at least one character to a maximum of 128 characters.
The first character of the text string value determines whether Search interprets the value as a numeric or string value. If the first character is an integer (e.g., 0-9), then all the remaining characters must also be integers. Search converts the value to the type PRSPEC_PROPID. If the first character not an integer, Search converts the value to the type PRSPEC_LPWSTR.
The combination of the PropGuid and PropPid properties must be unique in the Search schema (the comparison is not case-sensitive). Search does not check that the pair of values is unique until you call the ISearchSchema.Save method.
Example
See Creating an IColumn Object.
See Also