ITextTemplating 인터페이스
Visual Studio의 텍스트 템플릿 변환 서비스인 STextTemplating의 주 인터페이스입니다.
이 API는 CLS 규격이 아닙니다.
네임스페이스: Microsoft.VisualStudio.TextTemplating.VSHost
어셈블리: Microsoft.VisualStudio.TextTemplating.Interfaces.10.0(Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll)
구문
‘선언
<CLSCompliantAttribute(False)> _
Public Interface ITextTemplating
[CLSCompliantAttribute(false)]
public interface ITextTemplating
[CLSCompliantAttribute(false)]
public interface class ITextTemplating
[<CLSCompliantAttribute(false)>]
type ITextTemplating = interface end
public interface ITextTemplating
ITextTemplating 형식에서는 다음과 같은 멤버를 노출합니다.
메서드
이름 | 설명 | |
---|---|---|
![]() |
BeginErrorSession | 집합 위로/재설정 시스템 고유 오류만 기록 됩니다.또한 암시적 코드 생성 세션을 만듭니다. |
![]() |
EndErrorSession | 고유한 오류만 기록 되도록 시스템을 사용 하 여 세션을 완료 합니다. |
![]() |
PreprocessTemplate | |
![]() |
ProcessTemplate |
위쪽
예제
ITextTemplating tt = ServiceProvider.GetService(typeof(STextTemplating)) as ITextTemplating;
자세한 내용은 T4 텍스트 변환 사용자 지정를 참조하십시오.