asp.net open pdf in new window code behind : Change file size of pdf Library software component asp.net winforms wpf mvc ITU-TR-2006-767-part704

§4.8
InterfaceIList<T> 69
void
Dispose
()
invalidates thegiven view; ; or r invalidates all viewsofthe
givenproperlistandthenclearsit. Moreprecisely,ifthegivenlistisaview,
thisoperation freesallauxiliary datastructures usedtorepresenttheview
(except forthe e underlying list); this s raises noevents. . Ifthegiven n list is a
proper list, then all l views s ofthat list are e invalidated andthelist t itself f is
clearedbutremainsvalid;thisraiseseventsCollectionClearedandCollection-
Changed.Subsequentoperationsoninvalidatedviews,exceptfor
IsValid
and
Dispose
, will throw w ViewDisposedException. . This s method d isfrom interface
System.IDisposable.
bool
Exists
(Fun<T,bool> p)
,seepage50.
SCG.IEnumerable<T>
Filter
(Fun<T,bool> p)
,seepage50.
bool
Find
(Fun<T,bool> p, , out T T res)
,seepage50.
bool
Find
(ref T T x)
,seepage45.
IList<T>
FindAll
(Fun<T,bool> p)
appliesdelegate
p
totheitemsofthelist
or view in index order and returns a a new w list containing thoseitems
x
for
which
p(x)
istrue. Itholdsthat
FindAll(p).Count <= Count
. Ifthedelegate
p
modies the e given collection, , thena a CollectionModiedException n may be
thrown.
int
FindIndex
(Fun<T,bool> p)
,seepage58.
bool
FindLast
(Fun<T,bool> p, , out T T res)
,seepage52.
int
FindLastIndex
(Fun<T,bool> p)
,seepage58.
bool
FindOrAdd
(ref T x)
,seepage45.AdditionallythrowsFixedSizeCollec-
tionExceptionifthelisthasxedsize.
int
GetSequencedHashCode
()
,seepage86.
int
GetUnsequencedHashCode
()
,seepage45.
int
IndexOf
(T x)
,seepage59.
void
SC.IList.IndexOf
(Object obj)
casts
obj
to Tandthen returns s the
leastindex
i >= = 0
suchthattheresultingvalueequals
this[i]
,ifany. Oth-
erwisereturns 1,insteadoftheone’scomplementreturnedbythetypesafe
IndexOf
method,seepage59.Providedtoimplement
SC.IList
.
void
Insert
(int i, T T x)
insertsitem
x
atposition
i
inthelistorview.After
successfulinsertionallitemsatposition
i
andhigherhavehadtheirposition
increasedbyone,anditholdsthat
this[i]
is
x
. RaiseseventsItemInserted,
ItemsAddedandCollectionChanged. ThrowsIndexOutOfRangeExceptionif
i
< 0
or
i > > Count
.ThrowsDuplicateNotAllowedExceptionif
AllowsDuplicates
Change file size of pdf - Compress reduce PDF size in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
C# Code & .NET API to Compress & Decompress PDF Document
pdf text box font size; change paper size in pdf document
Change file size of pdf - VB.NET PDF File Compress Library: Compress reduce PDF size in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET PDF Document Compression and Decompression Control SDK
adjust pdf size preview; pdf page size
70 InterfaceIList<T>
§4.8
isfalseand
x
isalreadyintheunderlyinglist.ThrowsReadOnlyCollectionEx-
ceptionifthelistorviewisread-only,andFixedSizeCollectionExceptionifthe
listhasxedsize.
void
SC.IList.Insert
(int i, Object t obj)
inserts
obj
atposition
i
bycast-
ing
obj
toTandthencalling
Insert(i, (T)obj)
,seeabove.Providedtoimple-
ment
SC.IList
.
void
Insert
(IList<T> u, T T x)
insertsitem
x
intothegivenlist orview,at
theendoflistorview
u
.RaiseseventsItemInserted,ItemsAddedandCollec-
tionChanged. ThrowsDuplicateNotAllowedExceptionif
AllowsDuplicates
is
falseand
x
isalreadyintheunderlyinglist. ThrowsReadOnlyCollectionEx-
ceptionifthegivenlistorview(not
u
)isread-only,andFixedSizeCollectionEx-
ceptionifithasxedsize. Thevieworlist
u
mustbenon-
null
,andthegiven
vieworlistmusthavethesameunderlying list,oroneorbothmay bethat
underlyinglist;otherwiseIncompatibleViewExceptionisthrown.
void
InsertAll
<U>(int i, , SCG.IEnumerable<U> > xs) ) where e U:T
insertsitems
from
xs
atposition
i
inenumerationorder.Ifanyitemswereinserted,itraises
eventsItemInsertedandItemsAddedforeachitemandthenraisesCollection-
Changed. ThrowsIndexOutOfRangeException n if
i < < 0
or
i > > Count
. Items
from
xs
thatarealreadyintheunderlyinglist,andduplicateitemsin
xs
,are
ignoredif
AllowsDuplicates
isfalse. ThrowsReadOnlyCollectionExceptionif
thelistorviewisread-only,andFixedSizeCollectionExceptionifithasxed
size.
void
InsertFirst
(T x)
insertsitem
x
astherstiteminthelistorview,at
positionzero.RaiseseventsItemInserted,ItemsAddedandCollectionChanged.
ThrowsDuplicateNotAllowedExceptionif
AllowsDuplicates
is falseand
x
is
already in theunderlying list. . ThrowsReadOnlyCollectionException n ifthe
listorviewisread-only,andFixedSizeCollectionExceptionifithasxedsize.
Equivalentto
Insert(0, x)
.
void
InsertLast
(T x)
insertsitem
x
asthelastiteminthelistorview,atpo-
sition
Count
.RaiseseventsItemInserted,ItemsAddedandCollectionChanged.
ThrowsDuplicateNotAllowedExceptionif
AllowsDuplicates
is falseand
x
is
already in theunderlying list. . ThrowsReadOnlyCollectionException n ifthe
listorviewisread-only,andFixedSizeCollectionExceptionifithasxedsize.
Equivalentto
Insert(Count, x)
.
bool
IsSorted
()
appliesthedefaultcomparerfortypeTtopairsofneighbor
items
x
and
y
fromthelistorviewinindexorderuntilit returnsa positive
number(whichindicatesthat
x
isgreaterthan
y
,andsothelistisnotsorted),
oruntiltheendofthelistorviewisreached. Returnsfalseifthecomparer
waspositiveforanyneighboritems
x
and
y
;otherwisereturnstrue.
bool
IsSorted
(SCG.IComparer<T> cmp)
appliesthecomparer
cmp
topairsof
neighboritems
x
and
y
fromthelist or view in indexorderuntil
cmp(x, y)
C# PDF File Split Library: Split, seperate PDF into multiple files
Divide PDF file into multiple files by outputting PDF file size. Split PDF document by PDF bookmark and outlines. Split PDF file by output file size.
change paper size pdf; adjust pdf page size
VB.NET PDF File Split Library: Split, seperate PDF into multiple
Divide PDF file into multiple files by outputting PDF file size. Split Split PDF File by Output File Size Demo Code in VB.NET. This
pdf page size dimensions; change file size of pdf
§4.8
InterfaceIList<T> 71
returnsapositivenumber(whichindicatesthat
x
isgreaterthan
y
,andsothe
listisnotsorted),oruntiltheendofthelistorviewisreached.Returnsfalseif
cmp(x, y)
waspositiveforanyneighboritems
x
and
y
;otherwisereturnstrue.
ICollectionValue<KeyValuePair<T,int>>
ItemMultiplicities
()
,seepage45.
int
LastIndexOf
(T x)
,seepage59.
IList<T>
LastViewOf
(T x)
returns a new listview that points at thelast
occurrenceof
x
,ifany,inthegivenlistorview.Moreprecisely,thenewlistview
w
haslength1and
w.Offset
isthelargestindexforwhich
this[w.Offset]
is
equalto
x
.Notealsothat
w[0]
equals
w.First
equals
w.Last
equals
x
.Returns
null
ifnoiteminthegivenlistorviewequals
x
.
IList<V>
Map
<V>(Fun<T,V> f)
appliesdelegate
f
totheitems
x
ofthelistor
viewinindexorderandreturnsanewlistwhoseitemsaretheresults
f(x)
.
Thenew listis ofthesamekind d (forinstance,arraylist, linked list, hash-
indexedarraylist,orhash-indexedlinkedlist)asthegivenone. Thenewlist
willusethedefaultitemequalitycomparerfortype
V
;seesection2.3.Throws
DuplicateNotAllowedExceptionifthe(new)listdoesnotallowduplicatesand
applying
f
tothe given list produces s twonew items that areequal by the
newitemequalitycomparer. Itholdsthat
Map(f).Count
equals
Count
. Ifthe
delegate
f
modiesthegivencollection, thena a CollectionModiedException
maybethrown.
IList<V>
Map
<V>(Fun<T,V> f, , SCG.IEqualityComparer<V> > eqc)
appliesdele-
gate
f
totheitems
x
ofthelistorviewinindexorderandreturnsanewlist
whoseitemsaretheresults
f(x)
. Thenewlistmustbeofthesamekind(for
instance,arraylist,linkedlist,hash-indexedarraylist,orhash-indexedlinked
list)asthegivenone. Thenewlistwillusethegivenitemequalitycomparer
eqc
fortype
V
. ThrowsDuplicateNotAllowedExceptionifthe(new)listdoes
notallowduplicatesand
f
producestwonewitemsthatareequalby
eqc
. It
holdsthat
Map(f,eqc).Count
equals
Count
.Ifthedelegate
f
modiesthegiven
collection,thenaCollectionModiedExceptionmaybethrown.
T
Remove
()
removesandreturnstherstitemfromthelistorviewif
FIFO
istrue,orremovesandreturnsthelast itemif
FIFO
iffalse. Raisesevents
ItemRemovedAt,ItemsRemovedandCollectionChanged. ThrowsReadOnly-
CollectionExceptionif thelistor r view is read-only, throws FixedSizeCollec-
tionExceptionifithasxedsize,andthrowsNoSuchItemExceptionifthelist
orviewisempty.
bool
Remove
(T x)
,seepage46. AdditionallythrowsFixedSizeCollectionEx-
ceptionifthelisthasxedsize.
void
SC.IList.Remove
(Object obj)
removes
obj
fromthelistbycasting
obj
toTandthen calling
Remove((T)obj)
, see page46. . Provided d toimplement
SC.IList
.
VB.NET Image: How to Create Visual Basic .NET Windows Image Viewer
2) Dim FormSizeY As Integer = (Me.Size.Height / 2 Height * zoomFactor))) End Sub ' Save The File Private Sub sfd.FileName) End If End Sub ' Change Zoom Level
300 dpi pdf file size; change font size pdf text box
C# PDF Text Box Edit Library: add, delete, update PDF text box in
A web based PDF annotation application able to add text box comments to adobe PDF file online in ASP.NET. Ability to change text size in PDF text box.
change font size pdf form; pdf page size
72 InterfaceIList<T>
§4.8
bool
Remove
(T x, , out T T xRemoved)
,seepage46.AdditionallythrowsFixed-
SizeCollectionExceptionifthelisthasxedsize.
void
RemoveAll
<U>(SCG.IEnumerable<U> xs) where e U:T
,seepage46. Addi-
tionallythrowsFixedSizeCollectionExceptionifthelisthasxedsize.
void
RemoveAllCopies
(T x)
,seepage46.AdditionallythrowsFixedSizeCol-
lectionExceptionifthelisthasxedsize.
T
RemoveAt
(int i)
,seepage59.AdditionallythrowsFixedSizeCollectionEx-
ceptionifthelisthasxedsize.
void
SCG.IList<T>.RemoveAt
(int i)
removestheitematposition
i
inthe
listbycalling
RemoveAt(i)
,ignoringitsreturnvalue,seepage59.Providedto
implement
SCG.IList<T>
.
void
SC.IList.RemoveAt
(int i)
removestheitematposition
i
inthelist
by calling
RemoveAt(i)
, ignoringitsreturn value, see page59. . Provided d to
implement
SC.IList
.
T
RemoveFirst
()
removes andreturnstherstitemfromthelistorview.
RaiseseventsItemRemovedAt,ItemsRemovedandCollectionChanged. The
methods
Add
and
RemoveFirst
togetherbehavelikea rst-in-rst-outqueue
(section9.22).ThrowsReadOnlyCollectionExceptionifthelistorviewisread-
only,throwsFixedSizeCollectionExceptionifithasxedsize,andthrowsNo-
SuchItemExceptionifthelistorviewisempty.
void
RemoveInterval
(int i, int n)
,seepage59.
T
RemoveLast
()
removes and returns s thelast item from thelist or view.
RaiseseventsItemRemovedAt,ItemsRemovedandCollectionChanged. The
methods
Add
and
RemoveFirst
togetherbehavelikealast-in-rst-outstack(sec-
tion9.22).ThrowsReadOnlyCollectionExceptionifthelistorviewisread-only,
throwsFixedSizeCollectionExceptionifithasxedsize,andthrowsNoSuch-
ItemExceptionifthelistorviewisempty.
void
RetainAll
<U>(SCG.IEnumerable<T> xs) where e U:T
,seepage46. Addi-
tionallythrowsFixedSizeCollectionExceptionifthelisthasxedsize.
void
Reverse
()
reversestheitemsinthelist orview: : an n itemthatwasat
position
j
beforetheoperationisatposition
Count-1-j
aftertheoperation,for
0 <= = j j < < Count
. Forits s effectonviewsofthelist, seesection8.1.6. . Raises
eventCollectionChanged. ThrowsReadOnlyCollectionExceptionifthelistor
viewisread-only.
bool
SequencedEquals
(ISequenced<T> coll)
,seepage86.
C# PDF Sticky Note Library: add, delete, update PDF note in C#.net
Allow users to add comments online in ASPX webpage. Able to change font size in PDF comment box. Able to save and print sticky notes in PDF file.
adjust pdf size; 300 dpi pdf file size
C# PDF insert text Library: insert text into PDF content in C#.net
Ability to change text font, color, size and location and page, we will demonstrate how to use C#.NET class code to add and insert text to PDF file page.
pdf file compression; adjust pdf page size
§4.8
InterfaceIList<T> 73
void
Shuffle
()
randomlypermutestheitemsofthelistorviewusingtheli-
brary’spseudo-randomnumbergenerator;seesection3.8.ThrowsInvalidOp-
erationExceptionifthelistisread-only.Equivalentto
Shuffle(new C5Random())
.
Foritseffectonviewsofthelist,seesection8.1.6. RaiseseventCollection-
Changed.ThrowsReadOnlyCollectionExceptionifthelistorviewisread-only.
void
Shuffle
(System.Random rnd)
randomlypermutes theitemsofthelist
usingthegivenrandomnumbergenerator
rnd
. ThrowsInvalidOperationEx-
ception if f the list is s read-only. . For r its effect t on views s ofthelist, see e sec-
tion8.1.6. RaiseseventCollectionChanged. ThrowsReadOnlyCollectionEx-
ceptionifthelist or view is read-only. . Can n beappliedalsoto instances of
C5Random(section3.8)whichisasubclassofSystem.Random.
IList<T>
Slide
(int i)
slidesthegivenviewby
i
items,totheleftif
i < < 0
and totheright t if
i > > 0
. Returns s thegiven view. . Throws s ArgumentOut-
OfRangeException ifthe operation wouldbring eitherendofthe view out-
sidetheunderlyinglist;ormoreprecisely,if
i+Offset < < 0
or
i+Offset+Count
> Underlying.Count
.ThrowsReadOnlyCollectionExceptioniftheviewisread-
only,andthrowsNotAViewExceptionifthecurrentlistisnotaview.
IList<T>
Slide
(int i, int t n)
slidesthegivenviewby
i
items,totheleftif
i
< 0
andtotherightif
i > > 0
,andsetsthelengthoftheviewto
n
.Returnsthe
givenview. Throws s ArgumentOutOfRangeException iftheoperationwould
bring either end d of theview w outside e theunderlying list; ; or r more precisely,
if
i+Offset < < 0
or
i+Offset+n > > Underlying.Count
. ThrowsReadOnlyCollec-
tionExceptioniftheviewisread-only,andthrowsNotAViewExceptionifthe
listisnotaview.
void
Sort
()
sorts the e list t or view using the e default t comparerfor theitem
type;seesection2.6. ThrowsReadOnlyCollectionExceptionifthelistorview
isread-only. Foritseffectonviewsofthelist,seesection8.1.6. . Raisesevent
CollectionChanged.
void
Sort
(SCG.IComparer<T> cmp)
sortsthelistorviewusingthegivenitem
comparer;seesection2.6. ThrowsReadOnlyCollectionExceptionifthelistis
read-only. Foritseffectonviews s ofthelist, seesection8.1.6. . Raisesevent
CollectionChanged.
IList<T>
Span
(IList<T> w)
returnsanewview,ifany,spannedbytwoexist-
ingviewsorlists.Thecall
u.Span(w)
producesanewviewwhoseleftendpoint
istheleftendpointof
u
andwhoserightendpointistherightendpointof
w
.If
therightendpointof
w
isstrictlytotheleftoftheleftendpointof
u
,then
null
isreturned. Theviewsorlists
u
and
w
musthavethesameunderlying list,
oroneorbothmaybethatunderlyinglist,and
w
mustbenon-
null
otherwise
IncompatibleViewExceptionisthrown.
C# PDF Convert: How to Convert Word, Excel, PowerPoint, Tiff
no change for image size. Able to adjust and customize image resolution to meet various C# PDF conversion requirements. Conversion from other files to PDF file
.pdf printing in thumbnail size; change file size of pdf document
C# Tiff Convert: How to Convert PDF, Word, Excel, PowerPoint, Jpeg
C# class code to convert Dicom image to Tiff image file. are suggested to keep the actual size for conversion will tell C# programmers how to change and convert
pdf files optimized; pdf compression settings
74 InterfaceIList<T>
§4.8
When
list
istheunderlyinglist,then
list.Span(w)
isaviewthatspansfrom
thebeginningofthelisttotherightendpointof
w
;and
u.Span(list)
isaview
thatspansfromtheleftendpointof
u
totheendofthelist.
T[]
ToArray
()
,seepage50.
bool
TrySlide
(int i)
returnstrueifthegivenviewcanbeslidby
i
items,
andinthatcaseslidesitexactlyas
Slide(i)
;otherwisereturnsfalseanddoes
notmodifythegivenview. Moreprecisely,returnstrueif
i+Offset >= 0
and
i+Offset+Count <= = Underlying.Count
. ThrowsReadOnlyCollectionException
ifthe view w is read-only, , andthrows NotAViewException ifthe list t is not a
view.
bool
TrySlide
(int i, int t n)
returnstrueifthegivenviewcanbeslidby
i
itemsandhaveitslengthsetto
n
,andinthatcaseslidesitexactlyas
Slide(i,
n)
;otherwisereturnsfalseanddoesnotmodifythegivenview.Moreprecisely,
returnstrueif
i+Offset >= 0
and
i+Offset+n <= Underlying.Count
. Throws
ReadOnlyCollectionExceptioniftheviewisread-only,andthrowsNotAView-
Exceptionifthelistisnotaview.
ICollectionValue<T>
UniqueItems
()
,seepage46.
bool
UnsequencedEquals
(ICollection<T> coll)
,seepage46.
bool
Update
(T x)
,seepage47. AdditionallythrowsFixedSizeCollectionEx-
ceptionifthelisthasxedsize.
bool
Update
(T x, , out T T xOld)
,seepage47.AdditionallythrowsFixedSizeCol-
lectionExceptionifthelisthasxedsize.
bool
UpdateOrAdd
(T x)
,seepage47. AdditionallythrowsFixedSizeCollec-
tionExceptionifthelisthasxedsize.
bool
UpdateOrAdd
(T x, out T xOld)
,seepage47.AdditionallythrowsFixed-
SizeCollectionExceptionifthelisthasxedsize.
IList<T>
View
(int i, , int n)
returnsanewview
w
withoffset
i
relativeto
the given list t or view, , and d with length
n
. Moreprecisely,
w.Offset
equals
Offset+i
and
w.Count
equals
n
.ThrowsArgumentOutOfRangeExceptionifthe
viewwouldnottinsidegivenlistorview;thatis,if
i < < 0
or
n < 0
or
i+n >
Count
. Aviewofaread-onlylistorviewisitselfread-only. . Notethataview
createdfromaviewisitselfjustaviewoftheunderlyinglist. Viewsarenot
nestedinsideeachother;forinstance,aviewcreatedfromanotherview
w
is
notaffectedbysubsequentslidingof
w
.
IList<T>
ViewOf
(T x)
returnsanewlistviewthatpointsattherstoccur-
renceof
x
,ifany,inthelistorview. Moreprecisely,thenewlistview
w
has
length1and
w.Offset
istheleastindexforwhich
this[w.Offset]
isequalto
x
.Notealsothat
w[0]
equals
w.First
equals
w.Last
equals
x
.Returns
null
if
noiteminthelistequals
x
.
§4.8
InterfaceIList<T> 75
Events
event CollectionChangedHandler<T>
CollectionChanged,seepage51.
Raisedby
Add
,
AddAll
,
Clear
,
Dispose
,
FindOrAdd
,
Insert
,
InsertAll
,
InsertFirst
,
InsertLast
,
Remove
,
RemoveAll
,
RemoveAllCopies
,
RemoveAt
,
RemoveFirst
,
RemoveInterval
,
RemoveLast
,
RetainAll
,
Reverse
,
Shuffle
,
Sort
,
Update
and
UpdateOrAdd
,andbythesetaccessoroftheindexer
this[int]
.
event CollectionClearedHandler<T>
CollectionCleared,seepage51.
Raisedby
Clear
,
Dispose
and
RemoveInterval
.
event ItemInsertedHandler<T>
ItemInserted,seepage51.
Raisedby
Insert
,
InsertAll
,
InsertFirst
,
InsertLast
andbythesetaccessor
oftheindexer
this[int]
.
event ItemRemovedAtHandler<T>
ItemRemovedAt,seepage51.
Raisedby
RemoveAt
andbythesetaccessoroftheindexer
this[int]
.
event ItemsAddedHandler<T>
ItemsAdded,seepage51.
Raisedby
Add
,
AddAll
,
FindOrAdd
,
Insert
,
InsertAll
,
InsertFirst
,
InsertLast
,
Update
and
UpdateOrAdd
,andbythesetaccessoroftheindexer
this[int]
.
event ItemsRemovedHandler<T>
ItemsRemoved,seepage51.
Raised by
Remove
,
RemoveAll
,
RemoveAllCopies
,
RemoveAt
,
RetainAll
,
Update
and
UpdateOrAdd
,andbythesetaccessoroftheindexer
this[int]
.
76 InterfaceIPersistentSorted<T>
§4.9
4.9 InterfaceIPersistentSorted<T>
Inheritsfrom: ISorted<T>andSystem.IDisposable.
Implementedby: TreeBag<T>(section6.9)andTreeSet<T>(section6.8).
Properties
 Read-onlyproperty
EventTypeEnum
ActiveEvents,seepage49.
 Read-onlyproperty
bool
AllowsDuplicates,seepage55.
 Read-onlyproperty
SCG.IComparer<T>
Comparer,seepage88.
 Read-onlyproperty
Speed
ContainsSpeed,seepage44.
 Read-onlyproperty
int
Count,seepage49.
 Read-onlyproperty
Speed
CountSpeed,seepage49.
 Read-onlyproperty
EnumerationDirection
Direction,seepage54.
 Read-onlyproperty
bool
DuplicatesByCounting,seepage55.
 Read-onlyproperty
SCG.IEqualityComparer<T>
EqualityComparer,
seepage55.
 Read-onlyproperty
bool
IsEmpty,seepage49.
 Read-onlyproperty
bool
IsReadOnly,seepage55.
 Read-onlyproperty
EventTypeEnum
ListenableEvents,seepage49.
Methods
bool
Add
(T x)
,seepage55.
void
AddAll
<U>(SCG.IEnumerable<U> xs) where e U:T
,seepage56.
void
AddSorted
<U>(SCG.IEnumerable<U> xs) where e U:T
,seepage88.
bool
All
(Fun<T,bool> p)
,seepage49.
void
Apply
(Act<T> act)
,seepage49.
IDirectedEnumerable<T>
IDirectedEnumerable<T>.Backwards
()
,
seepage54.
IDirectedCollectionValue<T>
Backwards
()
,seepage52.
bool
Check
()
,seepage56.
§4.9
InterfaceIPersistentSorted<T> 77
T
Choose
()
,seepage50.
void
Clear
()
,seepage45.
Object
Clone
()
,seepage56.
bool
Contains
(T x)
,seepage45.
bool
ContainsAll
<U>(SCG.IEnumerable<U> xs) ) where e U:T
,seepage45.
int
ContainsCount
(T x)
,seepage45.
void
CopyTo
(T[] arr, , int t i)
,seepage50.
bool
Cut
(System.IComparable<T> c, out T T cP, , out bool cPValid, out T T cS,
out bool cSValid)
,seepage89.
T
DeleteMax
()
,seepage89.
T
DeleteMin
()
,seepage89.
void
Dispose
()
disposesthepersistentsortedcollectionifitisasnapshot,re-
leasinganyinternaldataandpreventingitfromholdingontoexternaldata.
Calling
Dispose
onapersistentsortedcollectionthatisnotasnapshotwilldis-
poseallsnapshotsmadefromthecollectionandthenclearthecollection,rais-
ingeventsCollectionClearedandCollectionChanged. Subsequentoperations
ondisposedsnapshots,exceptfor
Dispose
,willfail. Thismethodisinherited
fromSystem.IDisposable.
bool
Exists
(Fun<T,bool> p)
,seepage50.
SCG.IEnumerable<T>
Filter
(Fun<T,bool> p)
,seepage50.
bool
Find
(Fun<T,bool> p, , out T T res)
,seepage50.
bool
Find
(ref T T x)
,seepage45.
bool
FindLast
(Fun<T,bool> p, , out T T res)
,seepage52.
T
FindMax
()
,seepage91.
T
FindMin
()
,seepage91.
bool
FindOrAdd
(ref T x)
,seepage45.
int
GetSequencedHashCode
()
,seepage86.
int
GetUnsequencedHashCode
()
,seepage45.
ICollectionValue<KeyValuePair<T,int>>
ItemMultiplicities
()
,seepage45.
T
Predecessor
(T x)
,seepage91.
78 InterfaceIPersistentSorted<T>
§4.9
IDirectedCollectionValue<T>
RangeAll
()
,seepage91.
IDirectedEnumerable<T>
RangeFrom
(T x)
,seepage91.
IDirectedEnumerable<T>
RangeFromTo
(T x, , T T y)
,seepage91.
IDirectedEnumerable<T>
RangeTo
(T y)
,seepage91.
bool
Remove
(T x)
,seepage46.
bool
Remove
(T x, , out T T xRemoved)
,seepage46.
void
RemoveAll
<U>(SCG.IEnumerable<U> xs) where e U:T
,seepage46.
void
RemoveAllCopies
(T x)
,seepage46.
void
RemoveRangeFrom
(T x)
,seepage92.
void
RemoveRangeFromTo
(T x, , T T y)
,seepage92.
void
RemoveRangeTo
(T y)
,seepage92.
void
RetainAll
<U>(SCG.IEnumerable<T> xs) where e U:T
,seepage46.
bool
SequencedEquals
(ISequenced<T> coll)
,seepage86.
ISorted<T>
Snapshot
()
returnsasnapshotofthepersistentsortedcollection.
Thesnapshotisread-only(soproperty
IsReadonly
istrue)andisunaffected
bysubsequentupdatestotheoriginalcollection,butallsuchupdatesbecome
slightlyslower. Seesections8.5and12.6. Anynumberofsnapshotscanbe
madefromagivencollection. Thereisnopointinmakingasnapshotfroma
snapshot,andanattempttodosowillthrowInvalidOperationException.
NotethatasnapshothastypeISorted<T>,notIIndexedSorted<T>.Thisisbe-
causeitemaccessbyindexonasnapshotwouldbeinefcientinmanyplausi-
bleimplementationsofsnapshotting,includingtheoneusedintheC5library;
seesections12.6and13.10.
T
Successor
(T x)
,seepage92.
T[]
ToArray
()
,seepage50.
bool
TryPredecessor
(T x, , out T T res)
seepage92.
T
TrySuccessor
(T x)
seepage92.
bool
TryWeakPredecessor
(T x, , out T T res)
seepage92.
bool
TryWeakSuccessor
(T x, , out T T res)
seepage92.
ICollectionValue<T>
UniqueItems
()
,seepage46.
bool
UnsequencedEquals
(ICollection<T> coll)
,seepage46.
Documents you may be interested
Documents you may be interested