Click or drag to resize

Psz Structure

X#
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.8c
Syntax
[SerializableAttribute]
 STRUCTURE Psz IMPLEMENTS IEquatable<PSZ>, 
	ISerializable
Request Example View Source

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.
Public methodPsz(SerializationInfo, StreamingContext)
Construct a value from serialized data
Top
Properties
  NameDescription
Public propertyItem
Top
Methods
  NameDescription
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides GetHashCode.)
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Top
Operators
  NameDescription
Public operatorStatic memberAddition(String, Psz)
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberAddition(Psz, Int32)
Public operatorStatic memberAddition(Psz, String)
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberAddition(Psz, UInt32)
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