如何使用C#在xsd simpleType上检索这些枚举类型?这是示例简单类型?
<xs:simpleType name="PaymentType">
<xs:restriction base="xs:string">
<xs:enumeration value="Cash" />
<xs:enumeration value="CreditCard" />
</xs:restriction>
</xs:simpleType>
Run Code Online (Sandbox Code Playgroud)
谢谢