次の方法で共有


File.Name プロパティ

Gets the name of the file including the extension.

名前空間:  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 ReadOnly Property Name As String
    Get
'使用
Dim instance As File
Dim value As String

value = instance.Name
public string Name { get; }

プロパティ値

型: System.String
A string that contains the file name including the extension.

例外

例外 条件
[System.IO.FileNotFoundException]

File cannot be found. Error code: - 2147024894.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: - 2147024891.

注釈

It must not be null 参照 (Visual Basic のNothing ). Its length must be equal to or less than 128.

関連項目

参照先

File クラス

File メンバー

Microsoft.SharePoint.Client 名前空間