Partager via


Propriété Path

Obtient le chemin d'accès complet d'un élément.

Espace de noms :  ReportService2010
Assembly :  ReportService2010 (en ReportService2010.dll)

Syntaxe

'Déclaration
Public Property Path As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .String
String qui contient le nom de chemin d'accès complet d'un élément.

Notes

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.