C# Class SIL.FieldWorks.CacheLight.RealDataCache

Summary description for RealDataCache.
Inheritance: ISilDataAccess, IVwCacheDa, IFWDisposable
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Свойство Type Description
AddToIntCache void
AddToLongCache void
CheckBasics void
CheckForMetaDataCache void
CheckForVirtual bool
CheckHvoTagMatch void
Dispose void
GetFromIntCache int
GetFromLongCache long
MakeDirty void
get_UnknownProp object

Méthodes publiques

Méthode Description
AddNotification ( IVwNotifyChange _nchng ) : void

Member AddNotification

BeginNonUndoableTask ( ) : void

Member BeginNonUndoableTask

BeginUndoTask ( string bstrUndo, string bstrRedo ) : void

Member BeginUndoTask

BinaryPropRgb ( int obj, int tag, [ MarshalTypeRef, int cbMax, int &cb ) : void

Member BinaryPropRgb

ISilDataAccess method

BreakUndoTask ( string bstrUndo, string bstrRedo ) : void

Member BreakUndoTask

CacheBinaryProp ( int obj, int tag, [ SizeParamIndex = 3)]Byte[]rgb, int cb ) : void

Member CacheBinaryProp

IVwCacheDa method

CacheBooleanProp ( int hvo, int tag, bool value ) : void

Caches the boolean prop.

IVwCacheDa method

CacheGuidProp ( int obj, int tag, System.Guid uid ) : void

Member CacheGuidProp

IVwCacheDa method

CacheInt64Prop ( int obj, int tag, long val ) : void

Member CacheInt64Prop

IVwCacheDa method

CacheIntProp ( int obj, int tag, int val ) : void

Member CacheIntProp

IVwCacheDa method

CacheObjProp ( int obj, int tag, int val ) : void

Member CacheObjProp

IVwCacheDa method

CacheReplace ( int hvoObj, int tag, int ihvoMin, int ihvoLim, [ SizeParamIndex = 5)]int[]rghvo, int chvo ) : void

Member CacheReplace

IVwCacheDa method

CacheStringAlt ( int obj, int tag, int ws, ITsString tss ) : void

Member CacheStringAlt

IVwCacheDa method

CacheStringProp ( int obj, int tag, ITsString tss ) : void

Member CacheStringProp

IVwCacheDa method

CacheTimeProp ( int hvo, int tag, long val ) : void

Member CacheTimeProp

IVwCacheDa method

CacheUnicodeProp ( int obj, int tag, string val, int cch ) : void

Member CacheUnicodeProp

IVwCacheDa method

CacheUnknown ( int obj, int tag, [ unk ) : void

Member CacheUnknown

IVwCacheDa method

CacheVecProp ( int obj, int tag, [ SizeParamIndex = 3)]int[]rghvo, int chvo ) : void

Member CacheVecProp

CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

ClearAllData ( ) : void

Member ClearAllData

ClearDirty ( ) : void

Member ClearDirty

ClearInfoAbout ( int hvo, VwClearInfoAction cia ) : void

Member ClearInfoAbout

ClearInfoAboutAll ( int rghvo, int chvo, VwClearInfoAction cia ) : void

Member ClearInfoAbout

ClearVirtualProperties ( ) : void

Member ClearVirtualProperties

ContinueUndoTask ( ) : void

Member ContinueUndoTask

DeleteObj ( int hvoObj ) : void

Member DeleteObj

DeleteObjOwner ( int hvoOwner, int hvoObj, int tag, int ihvo ) : void

Member DeleteObjOwner

Dispose ( ) : void

Must not be virtual.

EndNonUndoableTask ( ) : void

Member EndNonUndoableTask

EndOuterUndoTask ( ) : void

Member EndOuterUndoTask

EndUndoTask ( ) : void

Member EndUndoTask

GetActionHandler ( ) : IActionHandler

Member GetActionHandler

GetDisplayIndex ( int hvoOwn, int flid, int ihvo ) : int

Member GetDisplayIndex

GetObjIndex ( int hvoOwn, int flid, int hvo ) : int

Member GetObjIndex

IVwCacheDa method

GetOutlineNumber ( int hvo, int flid, bool fFinPer ) : string

Member GetOutlineNumber

GetRelExtra ( int hvoSrc, int tag, int ihvo ) : string

Member GetRelExtra

GetVirtualHandlerId ( int tag ) : IVwVirtualHandler

Member GetVirtualHandlerId

GetVirtualHandlerName ( string bstrClass, string bstrField ) : IVwVirtualHandler

Member GetVirtualHandlerName

InsertNew ( int hvoObj, int tag, int ihvo, int chvo, IVwStylesheet _ss ) : void

Member InsertNew

InsertRelExtra ( int hvoSrc, int tag, int ihvo, int hvoDst, string bstrExtra ) : void

Member InsertRelExtra

InstallVirtual ( IVwVirtualHandler vh ) : void

Member InstallVirtual

IsDirty ( ) : bool

Member IsDirty

MakeNewObject ( int clid, int hvoOwner, int tag, int ord ) : int

Member MakeNewObject

MoveOwn ( int hvoSrcOwner, int tagSrc, int hvo, int hvoDstOwner, int tagDst, int ihvoDstStart ) : void

Member MoveOwn

MoveOwnSeq ( int hvoSrcOwner, int tagSrc, int ihvoStart, int ihvoEnd, int hvoDstOwner, int tagDst, int ihvoDstStart ) : void

Member MoveOwnSeq

MoveString ( int hvoSource, int flidSrc, int wsSrc, int ichMin, int ichLim, int hvoDst, int flidDst, int wsDst, int ichDest, bool fDstIsNew ) : void

So far we haven't needed this for the purposes of CacheLight...it's used for multi-paragraph (and eventually drag/drop) editing.

PropChanged ( IVwNotifyChange _nchng, int _ct, int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void

Member PropChanged

RemoveNotification ( IVwNotifyChange _nchng ) : void

Member RemoveNotification

RemoveObjRefs ( int hvo ) : void

Member RemoveObjRefs

Replace ( int hvoObj, int tag, int ihvoMin, int ihvoLim, [ SizeParamIndex = 5)]int[]rghvo, int chvo ) : void

Member Replace

Rollback ( ) : void

Member Rollback

SetActionHandler ( IActionHandler actionhandler ) : void

Member SetActionHandler

SetBinary ( int hvo, int tag, [ SizeParamIndex = 3)]Byte[]rgb, int cb ) : void

Member SetBinary

ISilDataAccess method

SetBoolean ( int hvo, int tag, bool n ) : void

Member SetBoolean

ISilDataAccess method

SetGuid ( int hvo, int tag, Guid uid ) : void

Member SetGuid

ISilDataAccess method

SetInt ( int hvo, int tag, int n ) : void

Member SetInt

ISilDataAccess method

SetInt64 ( int hvo, int tag, long lln ) : void

Member SetInt64

ISilDataAccess method

SetMultiStringAlt ( int hvo, int tag, int ws, ITsString tss ) : void

Member SetMultiStringAlt

ISilDataAccess method

SetObjProp ( int hvo, int tag, int hvoObj ) : void

Member SetObjProp

ISilDataAccess method

SetString ( int hvo, int tag, ITsString tss ) : void

Member SetString

ISilDataAccess method

SetTime ( int hvo, int tag, long lln ) : void

Member SetTime

ISilDataAccess method

SetUnicode ( int hvo, int tag, string rgch, int cch ) : void

Member SetUnicode

ISilDataAccess method

SetUnknown ( int hvo, int tag, [ unk ) : void

Member SetUnknown

ISilDataAccess method

UnicodePropRgch ( int obj, int tag, [ MarshalTypeRef, int cchMax, int &cch ) : void

Member UnicodePropRgch

ISilDataAccess method

UpdateRelExtra ( int hvoSrc, int tag, int ihvo, string bstrExtra ) : void

Member UpdateRelExtra

VecProp ( int hvo, int tag, int chvoMax, int &chvo, [ MarshalTypeRef ) : void

Get the full contents of the specified sequence in one go.

get_BooleanProp ( int hvo, int tag ) : bool

Member get_BooleanProp

ISilDataAccess method

get_CachedIntProp ( int obj, int tag, bool &isInCache ) : int

Method to retrieve a particular int property if it is in the cache, and return a bool to say whether it was or not. Similar to ISilDataAccess::get_IntProp, but this method is guaranteed not to do a lazy load of the property and it makes it easier for .Net clients to see whether the property was loaded, because this info is not hidden in an HRESULT.

IVwCacheDa method

get_GuidProp ( int hvo, int tag ) : Guid

Member get_GuidProp

ISilDataAccess method

get_Int64Prop ( int hvo, int tag ) : long

Member get_Int64Prop

ISilDataAccess method

get_IntProp ( int hvo, int tag ) : int

Member get_IntProp

ISilDataAccess method

get_IsDummyId ( int hvo ) : bool

Member get_IsDummyId

get_IsPropInCache ( int hvo, int tag, int cpt, int ws ) : bool

Member get_IsPropInCache

get_IsValidObject ( int hvo ) : bool

Member get_IsValidObject

get_MultiStringAlt ( int hvo, int tag, int ws ) : ITsString

Member get_MultiStringAlt

ISilDataAccess method

get_MultiStringProp ( int hvo, int tag ) : ITsMultiString

Member get_MultiStringProp

ISilDataAccess method

get_ObjFromGuid ( Guid uid ) : int

Member get_ObjFromGuid

ISilDataAccess method

get_ObjectProp ( int hvo, int tag ) : int

Member get_ObjectProp

ISilDataAccess method

get_Prop ( int hvo, int tag ) : object

Member get_Prop

get_StringProp ( int hvo, int tag ) : ITsString

Member get_StringProp

ISilDataAccess method

get_TimeProp ( int hvo, int tag ) : long

Member get_TimeProp

ISilDataAccess method

get_UnicodeProp ( int obj, int tag ) : string

Member get_UnicodeProp

ISilDataAccess method

get_VecItem ( int hvo, int tag, int index ) : int

Member get_VecItem

get_VecSize ( int hvo, int tag ) : int

Member get_VecSize

get_VecSizeAssumeCached ( int hvo, int tag ) : int

Member get_VecSizeAssumeCached

get_WritingSystemsOfInterest ( int cwsMax, [ MarshalTypeRef ) : int

Return a list of the encodings that are of interest within the database.

set_UnicodeProp ( int obj, int tag, string bstr ) : void

Member set_UnicodeProp

ISilDataAccess method

Private Methods

Méthode Description
AddToIntCache ( int obj, int tag, int val, bool isIntType ) : void
AddToLongCache ( int obj, int tag, long val, CellarPropertyType flidType ) : void
CheckBasics ( int hvo ) : void

See if the given 'hvo' is valid.

CheckForMetaDataCache ( ) : void

Makes sure the mdc exists.

CheckForVirtual ( int hvo, int tag ) : bool
CheckHvoTagMatch ( int hvo, int tag ) : void
Dispose ( bool disposing ) : void

Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed.

If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation.

GetFromIntCache ( int hvo, int tag ) : int
GetFromLongCache ( int hvo, int tag ) : long
MakeDirty ( int hvo ) : void
get_UnknownProp ( int hvo, int tag ) : object

Method Details

AddNotification() public méthode

Member AddNotification
public AddNotification ( IVwNotifyChange _nchng ) : void
_nchng IVwNotifyChange _nchng
Résultat void

BeginNonUndoableTask() public méthode

Member BeginNonUndoableTask
public BeginNonUndoableTask ( ) : void
Résultat void

BeginUndoTask() public méthode

Member BeginUndoTask
public BeginUndoTask ( string bstrUndo, string bstrRedo ) : void
bstrUndo string bstrUndo
bstrRedo string bstrRedo
Résultat void

BinaryPropRgb() public méthode

Member BinaryPropRgb
ISilDataAccess method
public BinaryPropRgb ( int obj, int tag, [ MarshalTypeRef, int cbMax, int &cb ) : void
obj int obj
tag int tag
MarshalTypeRef [
cbMax int cbMax
cb int cb
Résultat void

BreakUndoTask() public méthode

Member BreakUndoTask
public BreakUndoTask ( string bstrUndo, string bstrRedo ) : void
bstrUndo string bstrUndo
bstrRedo string bstrRedo
Résultat void

CacheBinaryProp() public méthode

Member CacheBinaryProp
IVwCacheDa method
public CacheBinaryProp ( int obj, int tag, [ SizeParamIndex = 3)]Byte[]rgb, int cb ) : void
obj int obj
tag int tag
SizeParamIndex [
cb int cb
Résultat void

CacheBooleanProp() public méthode

Caches the boolean prop.
IVwCacheDa method
public CacheBooleanProp ( int hvo, int tag, bool value ) : void
hvo int The hvo.
tag int The tag.
value bool if set to true [value].
Résultat void

CacheGuidProp() public méthode

Member CacheGuidProp
IVwCacheDa method
public CacheGuidProp ( int obj, int tag, System.Guid uid ) : void
obj int obj
tag int tag
uid System.Guid uid
Résultat void

CacheInt64Prop() public méthode

Member CacheInt64Prop
IVwCacheDa method
public CacheInt64Prop ( int obj, int tag, long val ) : void
obj int obj
tag int tag
val long val
Résultat void

CacheIntProp() public méthode

Member CacheIntProp
IVwCacheDa method
public CacheIntProp ( int obj, int tag, int val ) : void
obj int obj
tag int tag
val int val
Résultat void

CacheObjProp() public méthode

Member CacheObjProp
IVwCacheDa method
public CacheObjProp ( int obj, int tag, int val ) : void
obj int obj
tag int tag
val int val
Résultat void

CacheReplace() public méthode

Member CacheReplace
IVwCacheDa method
public CacheReplace ( int hvoObj, int tag, int ihvoMin, int ihvoLim, [ SizeParamIndex = 5)]int[]rghvo, int chvo ) : void
hvoObj int hvoObj
tag int tag
ihvoMin int ihvoMin
ihvoLim int ihvoLim
SizeParamIndex [
chvo int chvo
Résultat void

CacheStringAlt() public méthode

Member CacheStringAlt
IVwCacheDa method
public CacheStringAlt ( int obj, int tag, int ws, ITsString tss ) : void
obj int obj
tag int tag
ws int ws
tss ITsString tss
Résultat void

CacheStringProp() public méthode

Member CacheStringProp
IVwCacheDa method
public CacheStringProp ( int obj, int tag, ITsString tss ) : void
obj int obj
tag int tag
tss ITsString _tss
Résultat void

CacheTimeProp() public méthode

Member CacheTimeProp
IVwCacheDa method
public CacheTimeProp ( int hvo, int tag, long val ) : void
hvo int hvo
tag int tag
val long val
Résultat void

CacheUnicodeProp() public méthode

Member CacheUnicodeProp
IVwCacheDa method
public CacheUnicodeProp ( int obj, int tag, string val, int cch ) : void
obj int obj
tag int tag
val string val
cch int cch
Résultat void

CacheUnknown() public méthode

Member CacheUnknown
IVwCacheDa method
public CacheUnknown ( int obj, int tag, [ unk ) : void
obj int obj
tag int tag
unk [ unk
Résultat void

CacheVecProp() public méthode

Member CacheVecProp
public CacheVecProp ( int obj, int tag, [ SizeParamIndex = 3)]int[]rghvo, int chvo ) : void
obj int obj
tag int tag
SizeParamIndex [
chvo int chvo
Résultat void

CheckDisposed() public méthode

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
Résultat void

ClearAllData() public méthode

Member ClearAllData
public ClearAllData ( ) : void
Résultat void

ClearDirty() public méthode

Member ClearDirty
public ClearDirty ( ) : void
Résultat void

ClearInfoAbout() public méthode

Member ClearInfoAbout
public ClearInfoAbout ( int hvo, VwClearInfoAction cia ) : void
hvo int hvo
cia VwClearInfoAction cia
Résultat void

ClearInfoAboutAll() public méthode

Member ClearInfoAbout
public ClearInfoAboutAll ( int rghvo, int chvo, VwClearInfoAction cia ) : void
rghvo int hvo
chvo int
cia VwClearInfoAction cia
Résultat void

ClearVirtualProperties() public méthode

Member ClearVirtualProperties
public ClearVirtualProperties ( ) : void
Résultat void

ContinueUndoTask() public méthode

Member ContinueUndoTask
public ContinueUndoTask ( ) : void
Résultat void

DeleteObj() public méthode

Member DeleteObj
public DeleteObj ( int hvoObj ) : void
hvoObj int hvoObj
Résultat void

DeleteObjOwner() public méthode

Member DeleteObjOwner
public DeleteObjOwner ( int hvoOwner, int hvoObj, int tag, int ihvo ) : void
hvoOwner int hvoOwner
hvoObj int hvoObj
tag int tag
ihvo int ihvo
Résultat void

Dispose() public méthode

Must not be virtual.
public Dispose ( ) : void
Résultat void

EndNonUndoableTask() public méthode

Member EndNonUndoableTask
public EndNonUndoableTask ( ) : void
Résultat void

EndOuterUndoTask() public méthode

Member EndOuterUndoTask
public EndOuterUndoTask ( ) : void
Résultat void

EndUndoTask() public méthode

Member EndUndoTask
public EndUndoTask ( ) : void
Résultat void

GetActionHandler() public méthode

Member GetActionHandler
public GetActionHandler ( ) : IActionHandler
Résultat IActionHandler

GetDisplayIndex() public méthode

Member GetDisplayIndex
public GetDisplayIndex ( int hvoOwn, int flid, int ihvo ) : int
hvoOwn int hvoOwn
flid int flid
ihvo int ihvo
Résultat int

GetObjIndex() public méthode

Member GetObjIndex
IVwCacheDa method
public GetObjIndex ( int hvoOwn, int flid, int hvo ) : int
hvoOwn int hvoOwn
flid int flid
hvo int hvo
Résultat int

GetOutlineNumber() public méthode

Member GetOutlineNumber
public GetOutlineNumber ( int hvo, int flid, bool fFinPer ) : string
hvo int hvo
flid int flid
fFinPer bool fFinPer
Résultat string

GetRelExtra() public méthode

Member GetRelExtra
public GetRelExtra ( int hvoSrc, int tag, int ihvo ) : string
hvoSrc int hvoSrc
tag int tag
ihvo int ihvo
Résultat string

GetVirtualHandlerId() public méthode

Member GetVirtualHandlerId
public GetVirtualHandlerId ( int tag ) : IVwVirtualHandler
tag int tag
Résultat IVwVirtualHandler

GetVirtualHandlerName() public méthode

Member GetVirtualHandlerName
public GetVirtualHandlerName ( string bstrClass, string bstrField ) : IVwVirtualHandler
bstrClass string bstrClass
bstrField string bstrField
Résultat IVwVirtualHandler

InsertNew() public méthode

Member InsertNew
public InsertNew ( int hvoObj, int tag, int ihvo, int chvo, IVwStylesheet _ss ) : void
hvoObj int hvoObj
tag int tag
ihvo int ihvo
chvo int chvo
_ss IVwStylesheet _ss
Résultat void

InsertRelExtra() public méthode

Member InsertRelExtra
public InsertRelExtra ( int hvoSrc, int tag, int ihvo, int hvoDst, string bstrExtra ) : void
hvoSrc int hvoSrc
tag int tag
ihvo int ihvo
hvoDst int hvoDst
bstrExtra string bstrExtra
Résultat void

InstallVirtual() public méthode

Member InstallVirtual
public InstallVirtual ( IVwVirtualHandler vh ) : void
vh IVwVirtualHandler vh
Résultat void

IsDirty() public méthode

Member IsDirty
public IsDirty ( ) : bool
Résultat bool

MakeNewObject() public méthode

Member MakeNewObject
public MakeNewObject ( int clid, int hvoOwner, int tag, int ord ) : int
clid int clid
hvoOwner int hvoOwner
tag int tag
ord int ord
Résultat int

MoveOwn() public méthode

Member MoveOwn
public MoveOwn ( int hvoSrcOwner, int tagSrc, int hvo, int hvoDstOwner, int tagDst, int ihvoDstStart ) : void
hvoSrcOwner int hvoSrcOwner
tagSrc int tagSrc
hvo int hvo
hvoDstOwner int hvoDstOwner
tagDst int tagDst
ihvoDstStart int ihvoDstStart
Résultat void

MoveOwnSeq() public méthode

Member MoveOwnSeq
public MoveOwnSeq ( int hvoSrcOwner, int tagSrc, int ihvoStart, int ihvoEnd, int hvoDstOwner, int tagDst, int ihvoDstStart ) : void
hvoSrcOwner int hvoSrcOwner
tagSrc int tagSrc
ihvoStart int ihvoStart
ihvoEnd int ihvoEnd
hvoDstOwner int hvoDstOwner
tagDst int tagDst
ihvoDstStart int ihvoDstStart
Résultat void

MoveString() public méthode

So far we haven't needed this for the purposes of CacheLight...it's used for multi-paragraph (and eventually drag/drop) editing.
public MoveString ( int hvoSource, int flidSrc, int wsSrc, int ichMin, int ichLim, int hvoDst, int flidDst, int wsDst, int ichDest, bool fDstIsNew ) : void
hvoSource int
flidSrc int
wsSrc int
ichMin int
ichLim int
hvoDst int
flidDst int
wsDst int
ichDest int
fDstIsNew bool
Résultat void

PropChanged() public méthode

Member PropChanged
public PropChanged ( IVwNotifyChange _nchng, int _ct, int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void
_nchng IVwNotifyChange _nchng
_ct int _ct
hvo int hvo
tag int tag
ivMin int ivMin
cvIns int cvIns
cvDel int cvDel
Résultat void

RemoveNotification() public méthode

Member RemoveNotification
public RemoveNotification ( IVwNotifyChange _nchng ) : void
_nchng IVwNotifyChange _nchng
Résultat void

RemoveObjRefs() public méthode

Member RemoveObjRefs
public RemoveObjRefs ( int hvo ) : void
hvo int hvo
Résultat void

Replace() public méthode

Member Replace
public Replace ( int hvoObj, int tag, int ihvoMin, int ihvoLim, [ SizeParamIndex = 5)]int[]rghvo, int chvo ) : void
hvoObj int hvoObj
tag int tag
ihvoMin int ihvoMin
ihvoLim int ihvoLim
SizeParamIndex [
chvo int chvo
Résultat void

Rollback() public méthode

Member Rollback
public Rollback ( ) : void
Résultat void

SetActionHandler() public méthode

Member SetActionHandler
public SetActionHandler ( IActionHandler actionhandler ) : void
actionhandler IActionHandler action handler
Résultat void

SetBinary() public méthode

Member SetBinary
ISilDataAccess method
public SetBinary ( int hvo, int tag, [ SizeParamIndex = 3)]Byte[]rgb, int cb ) : void
hvo int hvo
tag int tag
SizeParamIndex [
cb int cb
Résultat void

SetBoolean() public méthode

Member SetBoolean
ISilDataAccess method
public SetBoolean ( int hvo, int tag, bool n ) : void
hvo int hvo
tag int tag
n bool n
Résultat void

SetGuid() public méthode

Member SetGuid
ISilDataAccess method
public SetGuid ( int hvo, int tag, Guid uid ) : void
hvo int hvo
tag int tag
uid Guid uid
Résultat void

SetInt() public méthode

Member SetInt
ISilDataAccess method
public SetInt ( int hvo, int tag, int n ) : void
hvo int hvo
tag int tag
n int n
Résultat void

SetInt64() public méthode

Member SetInt64
ISilDataAccess method
public SetInt64 ( int hvo, int tag, long lln ) : void
hvo int hvo
tag int tag
lln long lln
Résultat void

SetMultiStringAlt() public méthode

Member SetMultiStringAlt
ISilDataAccess method
public SetMultiStringAlt ( int hvo, int tag, int ws, ITsString tss ) : void
hvo int hvo
tag int tag
ws int ws
tss ITsString tss
Résultat void

SetObjProp() public méthode

Member SetObjProp
ISilDataAccess method
public SetObjProp ( int hvo, int tag, int hvoObj ) : void
hvo int hvo
tag int tag
hvoObj int hvoObj
Résultat void

SetString() public méthode

Member SetString
ISilDataAccess method
public SetString ( int hvo, int tag, ITsString tss ) : void
hvo int hvo
tag int tag
tss ITsString tss
Résultat void

SetTime() public méthode

Member SetTime
ISilDataAccess method
public SetTime ( int hvo, int tag, long lln ) : void
hvo int hvo
tag int tag
lln long lln
Résultat void

SetUnicode() public méthode

Member SetUnicode
ISilDataAccess method
public SetUnicode ( int hvo, int tag, string rgch, int cch ) : void
hvo int hvo
tag int tag
rgch string rgch
cch int cch
Résultat void

SetUnknown() public méthode

Member SetUnknown
ISilDataAccess method
public SetUnknown ( int hvo, int tag, [ unk ) : void
hvo int hvo
tag int tag
unk [ unk
Résultat void

UnicodePropRgch() public méthode

Member UnicodePropRgch
ISilDataAccess method
public UnicodePropRgch ( int obj, int tag, [ MarshalTypeRef, int cchMax, int &cch ) : void
obj int obj
tag int tag
MarshalTypeRef [
cchMax int cchMax
cch int cch
Résultat void

UpdateRelExtra() public méthode

Member UpdateRelExtra
public UpdateRelExtra ( int hvoSrc, int tag, int ihvo, string bstrExtra ) : void
hvoSrc int hvoSrc
tag int tag
ihvo int ihvo
bstrExtra string bstrExtra
Résultat void

VecProp() public méthode

Get the full contents of the specified sequence in one go.
public VecProp ( int hvo, int tag, int chvoMax, int &chvo, [ MarshalTypeRef ) : void
hvo int hvo
tag int tag
chvoMax int chvoMax
chvo int chvo
MarshalTypeRef [
Résultat void

get_BooleanProp() public méthode

Member get_BooleanProp
ISilDataAccess method
public get_BooleanProp ( int hvo, int tag ) : bool
hvo int hvo
tag int tag
Résultat bool

get_CachedIntProp() public méthode

Method to retrieve a particular int property if it is in the cache, and return a bool to say whether it was or not. Similar to ISilDataAccess::get_IntProp, but this method is guaranteed not to do a lazy load of the property and it makes it easier for .Net clients to see whether the property was loaded, because this info is not hidden in an HRESULT.
IVwCacheDa method
public get_CachedIntProp ( int obj, int tag, bool &isInCache ) : int
obj int obj
tag int tag
isInCache bool isInCache
Résultat int

get_GuidProp() public méthode

Member get_GuidProp
ISilDataAccess method
public get_GuidProp ( int hvo, int tag ) : Guid
hvo int hvo
tag int tag
Résultat Guid

get_Int64Prop() public méthode

Member get_Int64Prop
ISilDataAccess method
public get_Int64Prop ( int hvo, int tag ) : long
hvo int hvo
tag int tag
Résultat long

get_IntProp() public méthode

Member get_IntProp
ISilDataAccess method
public get_IntProp ( int hvo, int tag ) : int
hvo int hvo
tag int tag
Résultat int

get_IsDummyId() public méthode

Member get_IsDummyId
public get_IsDummyId ( int hvo ) : bool
hvo int hvo
Résultat bool

get_IsPropInCache() public méthode

Member get_IsPropInCache
public get_IsPropInCache ( int hvo, int tag, int cpt, int ws ) : bool
hvo int hvo
tag int tag
cpt int cpt
ws int ws
Résultat bool

get_IsValidObject() public méthode

Member get_IsValidObject
public get_IsValidObject ( int hvo ) : bool
hvo int hvo
Résultat bool

get_MultiStringAlt() public méthode

Member get_MultiStringAlt
ISilDataAccess method
public get_MultiStringAlt ( int hvo, int tag, int ws ) : ITsString
hvo int hvo
tag int tag
ws int ws
Résultat ITsString

get_MultiStringProp() public méthode

Member get_MultiStringProp
ISilDataAccess method
public get_MultiStringProp ( int hvo, int tag ) : ITsMultiString
hvo int hvo
tag int tag
Résultat ITsMultiString

get_ObjFromGuid() public méthode

Member get_ObjFromGuid
ISilDataAccess method
public get_ObjFromGuid ( Guid uid ) : int
uid Guid uid
Résultat int

get_ObjectProp() public méthode

Member get_ObjectProp
ISilDataAccess method
public get_ObjectProp ( int hvo, int tag ) : int
hvo int hvo
tag int tag
Résultat int

get_Prop() public méthode

Member get_Prop
public get_Prop ( int hvo, int tag ) : object
hvo int hvo
tag int tag
Résultat object

get_StringProp() public méthode

Member get_StringProp
ISilDataAccess method
public get_StringProp ( int hvo, int tag ) : ITsString
hvo int hvo
tag int tag
Résultat ITsString

get_TimeProp() public méthode

Member get_TimeProp
ISilDataAccess method
public get_TimeProp ( int hvo, int tag ) : long
hvo int hvo
tag int tag
Résultat long

get_UnicodeProp() public méthode

Member get_UnicodeProp
ISilDataAccess method
public get_UnicodeProp ( int obj, int tag ) : string
obj int obj
tag int tag
Résultat string

get_VecItem() public méthode

Member get_VecItem
public get_VecItem ( int hvo, int tag, int index ) : int
hvo int hvo
tag int tag
index int index
Résultat int

get_VecSize() public méthode

Member get_VecSize
public get_VecSize ( int hvo, int tag ) : int
hvo int hvo
tag int tag
Résultat int

get_VecSizeAssumeCached() public méthode

Member get_VecSizeAssumeCached
public get_VecSizeAssumeCached ( int hvo, int tag ) : int
hvo int hvo
tag int tag
Résultat int

get_WritingSystemsOfInterest() public méthode

Return a list of the encodings that are of interest within the database.
public get_WritingSystemsOfInterest ( int cwsMax, [ MarshalTypeRef ) : int
cwsMax int If cwsMax is zero, return the actual number (but no encodings).
MarshalTypeRef [
Résultat int

set_UnicodeProp() public méthode

Member set_UnicodeProp
ISilDataAccess method
public set_UnicodeProp ( int obj, int tag, string bstr ) : void
obj int obj
tag int tag
bstr string bstr
Résultat void