OleString

Overview

Windows wrapper for BStr .

Location

 

constructor    (declared in Object)

Default constructor.

 

constructor

 

OleString()

 

init()

 

OleString()

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)

Parameters:

  • aValue:

constructor (String)

 

constructor(Value: String)

 

OleString(String Value)

 

init(_ Value: String)

 

OleString(String Value)

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)

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)

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)

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)

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)

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)

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()

FreeString (^Char)  protected watchOS-arm64

 

method FreeString(Value: ^Char)

 

void FreeString(Char* Value)

 

func FreeString(_ Value: UnsafeMutablePointer<Char>)

 

void FreeString(Char* Value)

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)

Parameters:

  • Value:

GetHashCode  override virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

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; }

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; }

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)

Parameters:

  • a: left value
  • b: right value

ToString  override virtual

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

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; }

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; }

 

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)

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)

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)

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)

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)

Parameters:

  • a: left value
  • b: right value

 

constructor    (declared in Object)

Default constructor.

 

constructor

 

OleString()

 

init()

 

OleString()

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)

Parameters:

  • aValue:

constructor (String)

 

constructor(Value: String)

 

OleString(String Value)

 

init(_ Value: String)

 

OleString(String Value)

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)

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)

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)

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()

FreeString (^Char)  protected watchOS-arm64

 

method FreeString(Value: ^Char)

 

void FreeString(Char* Value)

 

func FreeString(_ Value: UnsafeMutablePointer<Char>)

 

void FreeString(Char* Value)

Parameters:

  • Value:

GetHashCode  override virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

ToString  override virtual

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()