FileCreationInformation.Overwrite 屬性
取得或設定值,指定是否要覆寫相同的名稱,為要加入的同一個位置的現有的檔案。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public Property Overwrite As Boolean
Get
Set
'用途
Dim instance As FileCreationInformation
Dim value As Boolean
value = instance.Overwrite
instance.Overwrite = value
public bool Overwrite { get; set; }
屬性值
類型:System.Boolean
如果傳回Booleantrue會覆寫相同的名稱,在要新增的項目位置的現有的檔案否則,傳回false。