ChannelSettingsElement.MaxItemsInCache 属性

定义

获取或设置可存在于缓存中的最大对象数。Gets or sets the maximum number of objects that can be in the cache.

public:
 property int MaxItemsInCache { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxItemsInCache", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxItemsInCache { get; set; }
[<System.Configuration.ConfigurationProperty("maxItemsInCache", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxItemsInCache : int with get, set
Public Property MaxItemsInCache As Integer

属性值

Int32

一个表示最大数的整数。An integer representing a maximum number.

属性

适用于