_Document.Path プロパティ

定義

ディスクまたは Web パスを指定したオブジェクトを返します。

public:
 property System::String ^ Path { System::String ^ get(); };
public string Path { get; }
member this.Path : string
Public ReadOnly Property Path As String

プロパティ値

注釈

パスに末尾の区切り文字が含まれていない-"C:\MSOffice"や"http://MyServer"などです。 PathSeparatorフォルダーとドライブ文字を区切る文字を追加するには、 プロパティを使用します。 PathSeparator プロパティを使用して、スラッシュ記号 (/) を含む Web 上のアドレスを取得することができます。PathSeparator プロパティで使用される既定の文字は、円記号 (\) です。

パスのない Name ファイル名を返すには プロパティを使用し、 プロパティを FullName 使用してファイル名とパスを一緒に返します。

適用対象