Click or drag to resize

PSZ Structure

Internal type that implements the VO Compatible PSZ type.
This type has many operators and implicit converters that normally are never directly called from user code.

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 STRUCTURE PSZ IMPLEMENTS IEquatable<PSZ>

The PSZ type exposes the following members.

Constructors
  NameDescription
Public methodPSZ(IntPtr)
This constructor is used in code generated by the compiler when needed.
Public methodPSZ(String)
This constructor is used in code generated by the compiler when needed.
Top
Methods
  NameDescription
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides GetHashCode.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition(String, PSZ)
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberAddition(PSZ, String)
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberAddition(PSZ, PSZ)
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberEquality
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberGreaterThan
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberGreaterThanOrEqual
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(Byte* to PSZ)
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(Int32 to PSZ)
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(IntPtr to PSZ)
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(SByte* to PSZ)
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(UInt32 to PSZ)
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(Void* to PSZ)
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(PSZ to Void*)
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(PSZ to Byte*)
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(PSZ to SByte*)
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(PSZ to IntPtr)
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(PSZ to String)
Public operatorStatic member(PSZ to Int32)
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(PSZ to Int64)
This operator is used in code generated by the compiler when needed.
Public operatorStatic member(PSZ to UInt32)
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberInequality
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberLessThan
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberLessThanOrEqual
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberSubtraction(String, PSZ)
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberSubtraction(PSZ, String)
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberSubtraction(PSZ, PSZ)
This operator is used in code generated by the compiler when needed.
Top
Remarks
Tip Tip
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.
See Also