当前位置:网站首页>Method properties of ASP adodb.stream object
Method properties of ASP adodb.stream object
2022-07-25 00:36:00 【Hua Weiyun】
adodb.stream Object method / attribute
Cancel Method
How to use it is as follows
Object.Cancel
explain : Cancel pending asynchronous execution Execute or Open Method call .
Close Method
How to use it is as follows
Object.Close
: Close object
CopyTo Method
How to use it is as follows
Object.CopyTo(destStream,[CharNumber])
explain : Copy the data of the object ,destStream Point to the object to be copied ,CharNumber Is an optional parameter , Refers to the number of bytes to be copied , Do not select copy all .
Flush Method
How to use it is as follows
Object.Flush
explain :
LoadFromFile Method
How to use it is as follows
Object.LoadFromFile(FileName)
explain : take FileName The specified file is loaded into the object , Parameters FileName For the specified user name .
Open Method
How to use it is as follows
Object.Open(Source,[Mode],[Options],[UserName],[Password])
explain : Open object ,
Parameter description :Sourece Antithetic source , You don't have to specify
Mode Specify the open mode , You don't have to specify , The optional parameters are as follows :
adModeRead =1
adModeReadWrite =3
adModeRecursive =4194304
adModeShareDenyNone =16
adModeShareDenyRead =4
adModeShareDenyWrite =8
adModeShareExclusive =12
adModeUnknown =0
adModeWrite =2
Options Specify the open options , You don't have to specify , The optional parameters are as follows :
adOpenStreamAsync =1
adOpenStreamFromRecord =4
adOpenStreamUnspecified=-1
UserName Specify user name , You don't have to specify .
Password Specify the password for the user name
Read Method
How to use it is as follows :
Object.Read(Numbytes)
explain : Read binary content of specified length .
Parameter description :Numbytes The specified lookup to read , Read all if not specified .
ReadText Method
How to use it is as follows :
Object.ReadText(NumChars)
explain : Read the specified length of text
Parameter description :NumChars The specified lookup to read , Read all if not specified .
SaveToFile Method
How to use it is as follows :
Object.SaveToFile(FileName,[Options])
explain : Write the content of the object to FileName In the specified file
Parameter description :FileName Specified file
Options Access options , You don't have to specify , The optional parameters are as follows :
adSaveCreateNotExist =1
adSaveCreateOverWrite =2
SetEOS Method
How to use it is as follows :
Object.setEOS()
explain :
SkipLine Method
How to use it is as follows :
Object.SkipLine()
explain :
Write Method
How to use it is as follows :
Object.Write(Buffer)
explain : Load the specified data into the image .
Parameter description :Buffer For the specified content to be written .
WriteText Method
How to use it is as follows :
Object.Write(Data,[Options])
explain : Load the specified text data into the object .
Parameter description :Data For the specified content to be written .
Options Write options , You don't have to specify , The optional parameters are as follows :
adWriteChar =0
adWriteLine =1
There are the following properties :
Charset
EOS Returns whether the data in the object is empty .
LineSeparator Specify newline format , The optional parameters are
adCR =13
adCRLF =-1
adLF =10
Mode Specify or add back mode .
Position Specifies or adds back the current pointer to the data in the image .
Size Returns the size of the data in the image .
State Whether the object state is turned on .
Type Specifies or returns the data type , The optional parameter is :
adTypeBinary =1
adTypeText =2
Link to the original text :https://www.mimisucai.com/teach/asp/33812.html
边栏推荐
- The model needs to use two losses_ FN, how to operate?
- Ggplot2 visual faceting, visual faceted ridge plot with facet_wrap, and customize the background color of the faceted icon title box
- What can testers do when there is an online bug?
- Discussion on line segment tree
- torch.nn.SyncBatchNorm.convert_ sync_ Mindspore usage corresponding to batchnorm
- Nodejs package
- Leetcode 0123. the best time to buy and sell stocks III: dynamic programming + simulation in constant space
- Improve static loading dynamic loading
- [mindspore] [xception model] script statement is suspected to be wrong
- Digital signal processing synthesis matlab design of dual tone multi frequency dialing system
猜你喜欢
![[leetcode weekly replay] game 83 biweekly 20220723](/img/db/c264c94ca3307d4363d3cf7f5d770b.png)
[leetcode weekly replay] game 83 biweekly 20220723

Heavy forecast! Analysys, together with Microsoft and the Central University of Finance and economics, talks about the digital economy

Uncaught typeerror: cannot read properties of null (reading 'append') solution

Grafana - influxdb visual K6 output
![[leetcode weekly replay] 303rd weekly 20220724](/img/ba/0f16f1f42e4a2593ec0124f23b30d7.png)
[leetcode weekly replay] 303rd weekly 20220724

Branch and loop statements in C language learning

Dynamic programming-01 knapsack rolling array optimization

【无标题】

UART

BGP machine room and BGP
随机推荐
C recursively obtains all files under the folder and binds them to the treeview control
Solution to the shortest Hamilton path problem
px rem em
How to make five kinds of data structures in redis
The number of palindromes in question 9 of C language deduction. Two pointer array traversal method
Does opengauss support using Sqlalchemy connections?
NXP i.mx6q development board software and hardware are all open source, and the schematic diagram of the core board is provided
Why does [mindspore ascend] [custom operator] repeatedly assign values to one tensor affect another tensor?
Internal network mapping port to external network
ROS manipulator movelt learning notes 3 | kinect360 camera (V1) related configuration
Dpdk based basic knowledge sorting-01
Notes on topic brushing (XXII) -- Dynamic Planning: basic ideas and topics
Unity+photon self made multiplayer TPS game
Invitation letter | "people, finance, tax" digital empowerment, vigorously promote retail enterprises to achieve "doubling" of economies of scale
Mobile terminal touch event
QT learning - using database singleton to complete login matching + registration function
paddlepaddle论文系列之Alexnet详解(附源码)
C language force buckle the flipped number of question 7. Violence Act
Lambda&Stream
[Bert] QA, reading comprehension, information retrieval