GETNAME_TYPE

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Specifies the name type of files to retrieve.

Syntax

enum enum_GETNAME_TYPE {
    GN_NAME         = 0,
    GN_FILENAME     = 1,
    GN_BASENAME     = 2,
    GN_MONIKERNAME  = 3,
    GN_URL          = 4,
    GN_TITLE        = 5,
    GN_STARTPAGEURL = 6
};
typedef DWORD GETNAME_TYPE;
public enum enum_GETNAME_TYPE {
    GN_NAME         = 0,
    GN_FILENAME     = 1,
    GN_BASENAME     = 2,
    GN_MONIKERNAME  = 3,
    GN_URL          = 4,
    GN_TITLE        = 5,
    GN_STARTPAGEURL = 6
};

Fields

GN_NAME
Specifies a friendly name of the document or context.

GN_FILENAME
Specifies the full path of the document or context.

GN_BASENAME
Specifies a base file name instead of a full path of the document or context.

GN_MONIKERNAME
Specifies a unique name of the document or context in the form of a moniker.

GN_URL
Specifies a URL name of the document or context.

GN_TITLE
Specifies a title of the document, if one exists.

GN_STARTPAGEURL
Gets the starting page URL for processes.

Remarks

These values are passed as parameters to the GetName, GetName, and GetName methods to specify what kind of name to return.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also