다음을 통해 공유


ITextTemplatingSession 인터페이스

지시문 프로세서에서 텍스트 템플릿으로 정보를 전송하는 데 사용할 수 있습니다.

네임스페이스:  Microsoft.VisualStudio.TextTemplating
어셈블리:  Microsoft.VisualStudio.TextTemplating.Interfaces.10.0(Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll)

구문

‘선언
<CLSCompliantAttribute(True)> _
Public Interface ITextTemplatingSession _
    Inherits IEquatable(Of ITextTemplatingSession), IEquatable(Of Guid),  _
    IDictionary(Of String, Object), ICollection(Of KeyValuePair(Of String, Object)),  _
    IEnumerable(Of KeyValuePair(Of String, Object)), IEnumerable,  _
    ISerializable
[CLSCompliantAttribute(true)]
public interface ITextTemplatingSession : IEquatable<ITextTemplatingSession>, 
    IEquatable<Guid>, IDictionary<string, Object>, ICollection<KeyValuePair<string, Object>>, 
    IEnumerable<KeyValuePair<string, Object>>, IEnumerable, ISerializable
[CLSCompliantAttribute(true)]
public interface class ITextTemplatingSession : IEquatable<ITextTemplatingSession^>, 
    IEquatable<Guid>, IDictionary<String^, Object^>, 
    ICollection<KeyValuePair<String^, Object^>>, IEnumerable<KeyValuePair<String^, Object^>>, 
    IEnumerable, ISerializable
[<CLSCompliantAttribute(true)>]
type ITextTemplatingSession =  
    interface
        interface IEquatable<ITextTemplatingSession>
        interface IEquatable<Guid>
        interface IDictionary<string, Object>
        interface ICollection<KeyValuePair<string, Object>>
        interface IEnumerable<KeyValuePair<string, Object>>
        interface IEnumerable
        interface ISerializable
    end
public interface ITextTemplatingSession extends IEquatable<ITextTemplatingSession>, IEquatable<Guid>, IDictionary<String, Object>, ICollection<KeyValuePair<String, Object>>, IEnumerable<KeyValuePair<String, Object>>, IEnumerable, ISerializable

ITextTemplatingSession 형식에서는 다음과 같은 멤버를 노출합니다.

속성

  이름 설명
Public 속성 Count ICollection<T> 에 포함된 요소 수를 가져옵니다. (ICollection<KeyValuePair<String, Object>>에서 상속됨)
Public 속성 Id 세션 인스턴스를 값으로 비교하는 데 사용되는 이 세션의 ID입니다.
Public 속성 IsReadOnly ICollection<T> 이 읽기 전용인지 여부를 나타내는 값을 가져옵니다. (ICollection<KeyValuePair<String, Object>>에서 상속됨)
Public 속성 Item 지정된 키가 있는 요소를 가져오거나 설정합니다. (IDictionary<String, Object>에서 상속됨)
Public 속성 Keys IDictionary<TKey, TValue> 의 키를 포함하는 ICollection<T>을 가져옵니다. (IDictionary<String, Object>에서 상속됨)
Public 속성 Values IDictionary<TKey, TValue> 의 값을 포함하는 ICollection<T>을 가져옵니다. (IDictionary<String, Object>에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 Add(T) ICollection<T> 에 항목을 추가합니다. (ICollection<KeyValuePair<String, Object>>에서 상속됨)
Public 메서드 Add(TKey, TValue) 제공된 키와 값이 있는 요소를 IDictionary<TKey, TValue>에 추가합니다. (IDictionary<String, Object>에서 상속됨)
Public 메서드 Clear ICollection<T> 에서 항목을 모두 제거합니다. (ICollection<KeyValuePair<String, Object>>에서 상속됨)
Public 메서드 Contains ICollection<T> 에 특정 값이 들어 있는지 여부를 확인합니다. (ICollection<KeyValuePair<String, Object>>에서 상속됨)
Public 메서드 ContainsKey IDictionary<TKey, TValue> 에 지정된 키가 있는 요소가 포함되어 있는지 여부를 확인합니다. (IDictionary<String, Object>에서 상속됨)
Public 메서드 CopyTo 특정 Array 인덱스에서 시작하여 ICollection<T>의 요소를 Array에 복사합니다. (ICollection<KeyValuePair<String, Object>>에서 상속됨)
Public 메서드 Equals(T) 현재 개체가 동일한 형식의 다른 개체와 같은지 여부를 나타냅니다. (IEquatable<Guid>에서 상속됨)
Public 메서드 Equals(T) (IEquatable<ITextTemplatingSession>에서 상속됨)
Public 메서드 GetEnumerator() 컬렉션을 반복하는 열거자를 반환합니다. (IEnumerable<KeyValuePair<String, Object>>에서 상속됨)
Public 메서드 GetEnumerator() 컬렉션을 반복하는 열거자를 반환합니다. (IEnumerable에서 상속됨)
Public 메서드 GetObjectData 대상 개체를 serialize하는 데 필요한 데이터로 SerializationInfo를 채웁니다. (ISerializable에서 상속됨)
Public 메서드 Remove(TKey) IDictionary<TKey, TValue> 에서 지정한 키를 가지는 요소를 제거합니다. (IDictionary<String, Object>에서 상속됨)
Public 메서드 Remove(T) ICollection<T> 에서 맨 처음 발견되는 특정 개체를 제거합니다. (ICollection<KeyValuePair<String, Object>>에서 상속됨)
Public 메서드 TryGetValue 지정된 키와 연결된 값을 가져옵니다. (IDictionary<String, Object>에서 상속됨)

위쪽

설명

세션은 응용 프로그램 도메인과 프로세스에 걸쳐 serialize된 개체입니다.매개 변수를 T4 엔진에 전달할 수 있는 사전 동작이 있습니다.자신의 ID GUID 기반 속성을 다르게 구현 형식을 직접 비교할 수 있도록 비교 하 여 비교 합니다.

참고 항목

참조

Microsoft.VisualStudio.TextTemplating 네임스페이스