跳轉到內容

Umbraco/參考/umbraco.library/NiceUrl

來自華夏公益教科書,開放的書籍,開放的世界

Umbraco.library.NiceUrl

[編輯 | 編輯原始碼]

返回給定 Umbraco 儲存庫中節點的“友好 URL”。

引數

NiceUrl(int NodeId);

  Integer   NodeId  

返回值

該方法返回一個包含指定節點 URL 的字串。

用法

// c#

using umbraco.library;

String myNiceUrl = NiceUrl(20);

華夏公益教科書