Click or drag to resize

SimplSharpString Class

String class to convert between a CrestronString and Simpl # strings Used when interfacing with Simpl Plus
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpSimplSharpString

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public class SimplSharpString

The SimplSharpString type exposes the following members.

Constructors
 NameDescription
Public methodSimplSharpString Default constructor for the SimplSharp String Encoding defaults to ASCII
Public methodSimplSharpString(SimplSharpString) Constructor for the SimplSharpString which takes in a Simpl Sharp String
Public methodSimplSharpString(String) Constructor for the SimplSharpString which takes in a specified String Encoding defaults to ASCII
Public methodSimplSharpString(String, CrestronStringEncoding) Constructor for the SimplSharpString which takes in a specified String and the encoding
Top
Properties
 NameDescription
Public propertyStringBuilderObject StringBuilder object within the Simpl Sharp String Object
Public propertyStringEncoding String encoding for the Simpl Sharp String Object
Top
Methods
 NameDescription
Public methodAppendToString Appends the value to the existing String Builder Object
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Returns the string from the String Builder Object
(Overrides ObjectToString)
Public methodUpdateValue Updates the String builder object with the new value
Top
Operators
 NameDescription
Public operatorStatic memberAddition(SimplSharpString, SimplSharpString) Operator overload for the + operator
Public operatorStatic member(String to SimplSharpString) Function to explicitly convert a string to a SimplSharp String
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also