Name 属性

获取项的名称。

命名空间:  ReportService2010
程序集:  ReportService2010(在 ReportService2010.dll 中)

语法

声明
Public Property Name As String
    Get
    Set
用法
Dim instance As CatalogItem
Dim value As String

value = instance.Name

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

属性值

类型:System. . :: . .String
一个包含项的名称的字符串值。

注释

The Name property does not include the full path name of the item. To retrieve the full path name of an item, use the Path property.

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