W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗值獎勵
Helper | 描述 |
---|---|
Analytics.GetGoogleHtml(webPropertyId) | 為指定的 ID 呈現(xiàn) Google Analytics JavaScript 代碼。 |
Analytics.GetStatCounterHtml(project, security) | 為指定的項目呈現(xiàn) StatCounter Analytics JavaScript 代碼。 |
Analytics.GetYahooHtml(account) | 為指定的賬號呈現(xiàn) Yahoo Analytics JavaScript 代碼。 |
Helper | 描述 |
---|---|
Bing.SearchBox([boxWidth]) | 給 Bing 傳遞搜索。您可以設(shè)置 Bing.SiteUrl 和 Bing.SiteTitle 屬性來設(shè)定站點搜索和搜索框的標(biāo)題,通常是在 _AppStart 頁面設(shè)置這些屬性。 |
Bing.AdvancedSearchBox([, boxWidth] [, resultWidth] [, resultHeight] [, themeColor] [, locale]) |
用可選的格式顯示 Bing 搜索結(jié)果在頁面上。您可以設(shè)置 Bing.SiteUrl 和 Bing.SiteTitle 屬性來設(shè)定站點搜索和搜索框的標(biāo)題,通常是在 _AppStart 頁面設(shè)置這些屬性。 |
Helper | 描述 |
---|---|
Chart(width, height [, template] [, templatePath]) | 初始化圖表。 |
Chart.AddLegend([title] [, name]) | 給圖表添加一個圖例。 |
Chart.AddSeries([name] [, chartType] [, chartArea] [, axisLabel] [, legend] [, markerStep] [, xValue] [, xField] [, yValues] [, yFields] [, options]) |
給圖表添加一系列數(shù)據(jù)。 |
Helper | 描述 |
---|---|
Crypto.Hash(string [, algorithm])
Crypto.Hash(bytes [, algorithm]) |
返回指定數(shù)據(jù)的哈希。默認(rèn)算法是 sha256。 |
Helper | 描述 |
---|---|
Facebook.LikeButton(href [, buttonLayout] [, showFaces] [, width] [, height] [, action] [, font] [, colorScheme] [, refLabel]) |
讓 Facebook 用戶連接到網(wǎng)頁。 |
Helper | 描述 |
---|---|
FileUpload.GetHtml([initialNumberOfFiles] [, allowMoreFilesToBeAdded] [, includeFormTag] [, addText] [, uploadText]) |
為上傳文件呈現(xiàn) UI。 |
Helper | 描述 |
---|---|
GamerCard.GetHtml(gamerTag) | 呈現(xiàn)指定的 Xbox gamer 標(biāo)簽。 |
Helper | 描述 |
---|---|
Gravatar.GetHtml(email [, imageSize] [, defaultImage] [, rating] [, imageExtension] [, attributes]) |
為指定的電子郵件地址呈現(xiàn) Gravatar 圖像。 |
Helper | 描述 |
---|---|
Json.Encode(object) | 用 JavaScript Object Notation (JSON) 把數(shù)據(jù)對象轉(zhuǎn)換為字符串。 |
Json.Decode(string) | 轉(zhuǎn)換 JSON 編碼的輸入字符串為您指定的數(shù)據(jù)對象。 |
Helper | 描述 |
---|---|
LinkShare.GetHtml(pageTitle [, pageLinkBack] [, twitterUserName] [, additionalTweetText] [, linkSites]) |
使用指定的標(biāo)題和可選的 URL 呈現(xiàn)社會網(wǎng)絡(luò)鏈接。 |
Helper | 描述 |
---|---|
ModelStateDictionary.AddError(key, errorMessage) | 關(guān)聯(lián)錯誤信息和一個表單域。使用 ModelState 幫助器訪問成員。 |
ModelStateDictionary.AddFormError(errorMessage) | 關(guān)聯(lián)錯誤信息和一個表單。使用 ModelState 幫助器訪問成員。 |
ModelStateDictionary.IsValid | 如果沒有驗證錯誤,返回 true。使用 ModelState 幫助器訪問成員。 |
Helper | 描述 |
---|---|
ObjectInfo.Print(value [, depth] [, enumerationLength]) | 呈現(xiàn)一個對象和所有子對象的屬性和值。 |
Helper | 描述 |
---|---|
Recaptcha.GetHtml([, publicKey] [, theme] [, language] [, tabIndex]) | 呈現(xiàn) reCAPTCHA 驗證測試。 |
ReCaptcha.PublicKey
ReCaptcha.PrivateKey |
設(shè)置 reCAPTCHA 服務(wù)的公共和私有密鑰。通常是在 _AppStart 頁面設(shè)置這些屬性。 |
ReCaptcha.Validate([, privateKey]) | 返回 reCAPTCHA 測試結(jié)果。 |
ServerInfo.GetHtml() | Renders 呈現(xiàn)有關(guān) ASP.NET Web Pages 的狀態(tài)信息。 |
Helper | 描述 |
---|---|
Twitter.Profile(twitterUserName) | 為指定的用戶呈現(xiàn) Twitter 流。 |
Twitter.Search(searchQuery) | 為指定的搜索文本呈現(xiàn) Twitter 流。 |
Helper | 描述 |
---|---|
Video.Flash(filename [, width, height]) | 為指定的文件呈現(xiàn)寬度和高度可選的 Flash 視頻播放。 |
Video.MediaPlayer(filename [, width, height]) | 為指定的文件呈現(xiàn)寬度和高度可選 的 Windows Media 播放器。 |
Video.Silverlight(filename, width, height) | 為指定的 .xap 文件呈現(xiàn)所需的寬度和高度 的 Silverlight 播放器。 |
Helper | 描述 |
---|---|
WebCache.Get(key) | 通過 key 返回指定的對象,如果對象未找到則返回 null。 |
WebCache.Remove(key) | 通過 key 從緩存中刪除指定的對象。 |
WebCache.Set(key, value [, minutesToCache] [, slidingExpiration]) | 通過 key 把 value 放置到指定名稱的緩存中。 |
Helper | 描述 |
---|---|
WebGrid(data) | Creates a 使用查詢數(shù)據(jù)創(chuàng)建一個新的 WebGrid 對象。 |
WebGrid.GetHtml() | Renders markup 顯示數(shù)據(jù)在 HTML 表格中。 |
WebGrid.Pager() | 為 WebGrid 對象呈現(xiàn)一個頁面。 |
Helper | 描述 |
---|---|
WebImage(path) | 從指定的路徑加載一個圖像。 |
WebImage.AddImagesWatermark(image) | 為指定圖像加水印。 |
WebImage.AddTextWatermark(text) | 為圖像添加指定文本。 |
WebImage.FlipHorizontal()
WebImage.FlipVertical() |
水平/垂直翻轉(zhuǎn)圖像 |
WebImage.GetImageFromRequest() | 當(dāng)圖像被傳送到一個文件上傳頁面時,加載圖像。 |
WebImage.Resize(width, height) | 調(diào)整圖像大小。 |
WebImage.RotateLeft()
WebImage.RotateRight() |
向左或向右旋轉(zhuǎn)圖像。 |
WebImage.Save(path [, imageFormat]) | 保存圖像到指定路徑。 |
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: