IFileExtensionRegistryService 인터페이스
파일 확장명과 콘텐츠 형식 사이의 연결을 관리하는 서비스입니다.
네임스페이스: Microsoft.VisualStudio.Utilities
어셈블리: Microsoft.VisualStudio.CoreUtility(Microsoft.VisualStudio.CoreUtility.dll)
구문
‘선언
Public Interface IFileExtensionRegistryService
public interface IFileExtensionRegistryService
public interface class IFileExtensionRegistryService
type IFileExtensionRegistryService = interface end
public interface IFileExtensionRegistryService
IFileExtensionRegistryService 형식에서는 다음과 같은 멤버를 노출합니다.
메서드
이름 | 설명 | |
---|---|---|
![]() |
AddFileExtension | 레지스트리에 새 파일 확장명을 추가합니다. |
![]() |
GetContentTypeForExtension | 지정된 파일 확장명과 연결된 콘텐츠 형식을 가져옵니다. |
![]() |
GetExtensionsForContentType | 지정된 콘텐츠 형식과 연결된 파일 확장명 목록을 가져옵니다. |
![]() |
RemoveFileExtension | 지정된 파일 확장명을 레지스트리에서 제거합니다. |
위쪽
설명
MEF 컴포넌트 부품입니다 하 고 같이 가져와야 합니다.
[Import]
internal IFileExtensionRegistryService registryService = null;