OleString

Overview

Windows wrapper for BStr .

Location

 

constructor  protected    (declared in ValueType)

Default constructor.

 

constructor

 

OleString()

 

init()

 

OleString()

 

Sub New()

constructor Copy(OleString) Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

constructor Copy(var aValue: OleString)

 

OleString Copy(ref OleString aValue)

 

init(Copy aValue: OleString)

 

OleString Copy(__ref OleString aValue)

 

Sub New Copy(ByRef aValue As OleString)

Parameters:

  • aValue:

constructor (String)

 

constructor(Value: String)

 

OleString(String Value)

 

init(_ Value: String)

 

OleString(String Value)

 

Sub New(Value As String)

Parameters:

  • Value:

AllocString (String): ^Char  protected watchOS-arm64

 

method AllocString(Value: String): ^Char

 

Char* AllocString(String Value)

 

func AllocString(_ Value: String) -> UnsafeMutablePointer<Char>

 

Char* AllocString(String Value)

 

Function AllocString(Value As String) As ^Char

Parameters:

  • Value:

AllocString (Int32): ^Char  protected Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

class method AllocString(aLength: Int32): ^Char

 

static Char* AllocString(Int32 aLength)

 

static func AllocString(_ aLength: Int32) -> UnsafeMutablePointer<Char>

 

static Char* AllocString(Int32 aLength)

 

Shared Function AllocString(aLength As Int32) As ^Char

Parameters:

  • aLength:

AllocString (String): ^Char  protected Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

class method AllocString(Value: String): ^Char

 

static Char* AllocString(String Value)

 

static func AllocString(_ Value: String) -> UnsafeMutablePointer<Char>

 

static Char* AllocString(String Value)

 

Shared Function AllocString(Value As String) As ^Char

Parameters:

  • Value:

DuplicateString  protected Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

class method DuplicateString(var aSource: OleString; var aDest: OleString)

 

static void DuplicateString(ref OleString aSource, ref OleString aDest)

 

static func DuplicateString(_ aSource: OleString, _ aDest: OleString)

 

static void DuplicateString(__ref OleString aSource, __ref OleString aDest)

 

Shared Sub DuplicateString(ByRef aSource As OleString, ByRef aDest As OleString)

Parameters:

  • aSource:
  • aDest:

Equals (Object): Boolean  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Equals (OleString): Boolean

 

method Equals(Value: OleString): Boolean

 

Boolean Equals(OleString Value)

 

func Equals(_ Value: OleString) -> Boolean

 

Boolean Equals(OleString Value)

 

Function Equals(Value As OleString) As Boolean

Parameters:

  • Value:

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

FreeString (^Char)  protected watchOS-arm64

 

method FreeString(Value: ^Char)

 

void FreeString(Char* Value)

 

func FreeString(_ Value: UnsafeMutablePointer<Char>)

 

void FreeString(Char* Value)

 

Sub FreeString(Value As ^Char)

Parameters:

  • Value:

FreeString (^Char)  protected Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

class method FreeString(Value: ^Char)

 

static void FreeString(Char* Value)

 

static func FreeString(_ Value: UnsafeMutablePointer<Char>)

 

static void FreeString(Char* Value)

 

Shared Sub FreeString(Value As ^Char)

Parameters:

  • Value:

GetHashCode  override virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

Item Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

property Item[I: Int32]: Char read write;

 

Char Item[Int32 I] { get; set; }

 

subscript Item(_ I: Int32) -> Char { get{} set{} }

 

Char Item[Int32 I] { __get; __set; }

 

Property Item(I As Int32) As Char

Length Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

property Length: Int32 read;

 

Int32 Length { get; }

 

var Length: Int32 { get{} }

 

Int32 Length { __get; }

 

ReadOnly Property Length() As Int32

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

ToString  override virtual

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

 

Item Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

property Item[I: Int32]: Char read write;

 

Char Item[Int32 I] { get; set; }

 

subscript Item(_ I: Int32) -> Char { get{} set{} }

 

Char Item[Int32 I] { __get; __set; }

 

Property Item(I As Int32) As Char

Length Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

property Length: Int32 read;

 

Int32 Length { get; }

 

var Length: Int32 { get{} }

 

Int32 Length { __get; }

 

ReadOnly Property Length() As Int32

 

AllocString (Int32): ^Char  protected Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

class method AllocString(aLength: Int32): ^Char

 

static Char* AllocString(Int32 aLength)

 

static func AllocString(_ aLength: Int32) -> UnsafeMutablePointer<Char>

 

static Char* AllocString(Int32 aLength)

 

Shared Function AllocString(aLength As Int32) As ^Char

Parameters:

  • aLength:

AllocString (String): ^Char  protected Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

class method AllocString(Value: String): ^Char

 

static Char* AllocString(String Value)

 

static func AllocString(_ Value: String) -> UnsafeMutablePointer<Char>

 

static Char* AllocString(String Value)

 

Shared Function AllocString(Value As String) As ^Char

Parameters:

  • Value:

DuplicateString  protected Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

class method DuplicateString(var aSource: OleString; var aDest: OleString)

 

static void DuplicateString(ref OleString aSource, ref OleString aDest)

 

static func DuplicateString(_ aSource: OleString, _ aDest: OleString)

 

static void DuplicateString(__ref OleString aSource, __ref OleString aDest)

 

Shared Sub DuplicateString(ByRef aSource As OleString, ByRef aDest As OleString)

Parameters:

  • aSource:
  • aDest:

FreeString (^Char)  protected Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

class method FreeString(Value: ^Char)

 

static void FreeString(Char* Value)

 

static func FreeString(_ Value: UnsafeMutablePointer<Char>)

 

static void FreeString(Char* Value)

 

Shared Sub FreeString(Value As ^Char)

Parameters:

  • Value:

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

 

constructor  protected    (declared in ValueType)

Default constructor.

 

constructor

 

OleString()

 

init()

 

OleString()

 

Sub New()

constructor Copy(OleString) Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

constructor Copy(var aValue: OleString)

 

OleString Copy(ref OleString aValue)

 

init(Copy aValue: OleString)

 

OleString Copy(__ref OleString aValue)

 

Sub New Copy(ByRef aValue As OleString)

Parameters:

  • aValue:

constructor (String)

 

constructor(Value: String)

 

OleString(String Value)

 

init(_ Value: String)

 

OleString(String Value)

 

Sub New(Value As String)

Parameters:

  • Value:

AllocString (String): ^Char  protected watchOS-arm64

 

method AllocString(Value: String): ^Char

 

Char* AllocString(String Value)

 

func AllocString(_ Value: String) -> UnsafeMutablePointer<Char>

 

Char* AllocString(String Value)

 

Function AllocString(Value As String) As ^Char

Parameters:

  • Value:

Equals (Object): Boolean  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Equals (OleString): Boolean

 

method Equals(Value: OleString): Boolean

 

Boolean Equals(OleString Value)

 

func Equals(_ Value: OleString) -> Boolean

 

Boolean Equals(OleString Value)

 

Function Equals(Value As OleString) As Boolean

Parameters:

  • Value:

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

FreeString (^Char)  protected watchOS-arm64

 

method FreeString(Value: ^Char)

 

void FreeString(Char* Value)

 

func FreeString(_ Value: UnsafeMutablePointer<Char>)

 

void FreeString(Char* Value)

 

Sub FreeString(Value As ^Char)

Parameters:

  • Value:

GetHashCode  override virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

ToString  override virtual

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String