OleString

Overview

Windows wrapper for BStr .

Location

 

constructor    (declared in Object) UIKit for Mac

Default constructor.

 

constructor

 

OleString()

 

init()

 

OleString()

 

Sub New()

constructor (String) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor(Value: String)

 

OleString(String Value)

 

init(_ Value: String)

 

OleString(String Value)

 

Sub New(Value As String)

Parameters:

  • Value:

constructor Copy(OleString)

 

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) UIKit for Mac

 

constructor(Value: String)

 

OleString(String Value)

 

init(_ Value: String)

 

OleString(String Value)

 

Sub New(Value As String)

Parameters:

  • Value:

AllocString (Int32): ^Char  protected

 

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 Ptr(Of Char)

Parameters:

  • aLength:

AllocString (String): ^Char  protected

 

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 Ptr(Of Char)

Parameters:

  • Value:

DuplicateString (OleString, OleString)  protected Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, 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:

DuplicateString (OleString, OleString)  protected UIKit for Mac

 

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

 

static  DuplicateString(ref OleString aSource, ref OleString aDest)

 

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

 

static  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) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther:

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:

Equals (Object): Boolean  virtual    (declared in Object) UIKit for Mac

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.

Finalize  protected virtual    (declared in Object) UIKit for Mac

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

 

Finalize()

 

func Finalize()

 

Finalize()

 

Sub Finalize()

FreeString (^Char)  protected UIKit for Mac

 

class method FreeString(Value: ^Char)

 

static  FreeString(Char* Value)

 

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

 

static  FreeString(Char* Value)

 

Shared Sub FreeString(Value As Ptr(Of Char))

Parameters:

  • Value:

FreeString (^Char)  protected Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, 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 Ptr(Of 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 UIKit for Mac

 

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

Item Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, 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

 

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 UIKit for Mac

 

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

Item Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, 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

 

property Length: Int32 read;

 

Int32 Length { get; }

 

var Length: Int32 { get{} }

 

Int32 Length { __get; }

 

ReadOnly Property Length() As Int32

 

AllocString (Int32): ^Char  protected

 

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 Ptr(Of Char)

Parameters:

  • aLength:

AllocString (String): ^Char  protected

 

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 Ptr(Of Char)

Parameters:

  • Value:

DuplicateString (OleString, OleString)  protected Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, 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:

DuplicateString (OleString, OleString)  protected UIKit for Mac

 

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

 

static  DuplicateString(ref OleString aSource, ref OleString aDest)

 

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

 

static  DuplicateString(__ref OleString aSource, __ref OleString aDest)

 

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

Parameters:

  • aSource:
  • aDest:

FreeString (^Char)  protected UIKit for Mac

 

class method FreeString(Value: ^Char)

 

static  FreeString(Char* Value)

 

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

 

static  FreeString(Char* Value)

 

Shared Sub FreeString(Value As Ptr(Of Char))

Parameters:

  • Value:

FreeString (^Char)  protected Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, 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 Ptr(Of 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    (declared in Object) UIKit for Mac

Default constructor.

 

constructor

 

OleString()

 

init()

 

OleString()

 

Sub New()

constructor (String) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor(Value: String)

 

OleString(String Value)

 

init(_ Value: String)

 

OleString(String Value)

 

Sub New(Value As String)

Parameters:

  • Value:

constructor Copy(OleString)

 

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) UIKit for Mac

 

constructor(Value: String)

 

OleString(String Value)

 

init(_ Value: String)

 

OleString(String Value)

 

Sub New(Value As String)

Parameters:

  • Value:

Equals (Object): Boolean  virtual    (declared in Object) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther:

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:

Equals (Object): Boolean  virtual    (declared in Object) UIKit for Mac

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.

Finalize  protected virtual    (declared in Object) UIKit for Mac

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

 

Finalize()

 

func Finalize()

 

Finalize()

 

Sub Finalize()

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