OleString

Overview

Windows wrapper for BStr .

Location

 

constructor  protected    (declared in ValueType)

 

constructor

 

OleString()

 

init()

 

OleString()

 

Sub New()

constructor (String)

 

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:

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  protected

 

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)

Default constructor.

 

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

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

FreeString  protected

 

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

 

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

 

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  protected

 

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  protected

 

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  protected    (declared in ValueType)

 

constructor

 

OleString()

 

init()

 

OleString()

 

Sub New()

constructor (String)

 

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:

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

Default constructor.

 

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

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void 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