Psz Structure |
|
Namespace: XSharp
The Psz type exposes the following members.
| Name | Description | |
|---|---|---|
| Psz(IntPtr) | This constructor is used in code generated by the compiler when needed. | |
| Psz(String) | This constructor is used in code generated by the compiler when needed. | |
| Psz(SerializationInfo, StreamingContext) | Construct a value from serialized data |
| Name | Description | |
|---|---|---|
| GetHashCode | Returns the hash code for this instance. (Overrides GetHashCode.) | |
| GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. |
| Name | Description | |
|---|---|---|
| Addition(String, Psz) | This operator is used in code generated by the compiler when needed. | |
| Addition(Psz, Long) | ||
| Addition(Psz, String) | This operator is used in code generated by the compiler when needed. | |
| Addition(Psz, DWord) | This operator is used in code generated by the compiler when needed. | |
| Addition(Psz, Psz) | This operator is used in code generated by the compiler when needed. | |
| Equality | This operator is used in code generated by the compiler when needed. | |
| GreaterThan | This operator is used in code generated by the compiler when needed. | |
| GreaterThanOrEqual | This operator is used in code generated by the compiler when needed. | |
| (Byte* to Psz) | This operator is used in code generated by the compiler when needed. | |
| (Long to Psz) | This operator is used in code generated by the compiler when needed. | |
| (IntPtr to Psz) | This operator is used in code generated by the compiler when needed. | |
| (SByte* to Psz) | This operator is used in code generated by the compiler when needed. | |
| (DWord to Psz) | This operator is used in code generated by the compiler when needed. | |
| (Void* to Psz) | This operator is used in code generated by the compiler when needed. | |
| (Psz to Void*) | This operator is used in code generated by the compiler when needed. | |
| (Psz to Byte*) | This operator is used in code generated by the compiler when needed. | |
| (Psz to SByte*) | This operator is used in code generated by the compiler when needed. | |
| (Psz to IntPtr) | This operator is used in code generated by the compiler when needed. | |
| (Psz to String) | This operator is used in code generated by the compiler when needed. | |
| (Psz to Long) | This operator is used in code generated by the compiler when needed. | |
| (Psz to Int64) | This operator is used in code generated by the compiler when needed. | |
| (Psz to DWord) | This operator is used in code generated by the compiler when needed. | |
| Inequality | This operator is used in code generated by the compiler when needed. | |
| LessThan | This operator is used in code generated by the compiler when needed. | |
| LessThanOrEqual | This operator is used in code generated by the compiler when needed. | |
| Subtraction(String, Psz) | This operator is used in code generated by the compiler when needed. | |
| Subtraction(Psz, String) | This operator is used in code generated by the compiler when needed. | |
| Subtraction(Psz, Psz) | This operator is used in code generated by the compiler when needed. |
|
The PSZ type is included in the X# language and runtime for compatibility only.
In most cases the type can and should be replaced with normal strings. If you need to interface with Win32 API functions that expect an ansi string, there is often also an alternative with a unicode string. We recommend to use that alternative when possible. |