英語で読む

次の方法で共有


FilePathUtilities Class

Definition

Important

This API is not CLS-compliant.

Static utilities for getting and setting file paths.

C++/CX
public ref class FilePathUtilities sealed
Inheritance
FilePathUtilities
Attributes

Constructors

FilePathUtilities()

Initializes a new instance of FilePathUtilities.

Methods

GetFileExtension(String)

This method returns the file extension in lower case, including the "." and trims any blanks or null characters from the string. Null's can creep in via interop if we get a badly formed BSTR

GetFilePath(IntPtr)

Get file path for an object that is implementing IVsUserData.

GetFilePath(IVsTextLines)

Get path for text buffer.

Applies to

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022