IFileToContentTypeService.AddFileName(String, IContentType) Метод

Определение

Добавляет новое имя файла в реестр.

public:
 void AddFileName(System::String ^ name, Microsoft::VisualStudio::Utilities::IContentType ^ contentType);
public void AddFileName (string name, Microsoft.VisualStudio.Utilities.IContentType contentType);
abstract member AddFileName : string * Microsoft.VisualStudio.Utilities.IContentType -> unit
Public Sub AddFileName (name As String, contentType As IContentType)

Параметры

name
String

Имя файла (точка является необязательной).

contentType
IContentType

Тип содержимого для имени файла.

Исключения

уже присутствует в реестре.

Применяется к