Partager via


Size propriété

Gets the size, in bytes, of an item.

Espace de noms :  ReportService2006
Assembly :  ReportService2006 (dans ReportService2006.dll)

Syntaxe

'Déclaration
Public Property Size As Integer
    Get
    Set
'Utilisation
Dim instance As CatalogItem
Dim value As Integer

value = instance.Size

instance.Size = value
public int Size { get; set; }
public:
property int Size {
    int get ();
    void set (int value);
}
member Size : int with get, set
function get Size () : int
function set Size (value : int)

Valeur de la propriété

Type : System. . :: . .Int32
An Integer value that contains the size, in bytes, of an item.

Notes

Only items of type Report and Resource include the Size property.

The value for the Size property has a corresponding SizeSpecified property that indicates whether this property should be omitted from the Web service call.

For more information about omitting properties, see Omission de valeurs pour les objets de service Web facultatifs.