共用方式為


Path 屬性

取得項目的完整路徑名稱。

命名空間:  ReportService2010
組件:  ReportService2010 (在 ReportService2010.dll 中)

語法

'宣告
Public Property Path As String
    Get
    Set
'用途
Dim instance As CatalogItem
Dim value As String

value = instance.Path

instance.Path = value
public string Path { get; set; }
public:
property String^ Path {
    String^ get ();
    void set (String^ value);
}
member Path : string with get, set
function get Path () : String
function set Path (value : String)

屬性值

型別:System. . :: . .String
String 值,其中包含項目的完整路徑。

備註

You can modify the Path property of an item by using the MoveItem method. Attempting to modify the Path property using the SetProperties method causes an exception to be thrown with error code rsReadOnlyProperty.

The path of any item in the SharePoint library has a maximum character length of 260.