我可以在我的项目中看到这个运算符| =在一些示例代码中使用。下面给出确切代码运算符| =在C#中的含义是什么?
DocumentRetrievalOptions docRetrievalOptions = DocumentRetrievalOptions.ByTargetJurisdiction;
docRetrievalOptions |= DocumentRetrievalOptions.ByUniqueId;
其中'DocumentRetrievalOptions'是枚举类型。
这会有很大的帮助,如果有人让我知道,这是什么意思。