TextTemplatingSession 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
文字轉換會話介面的簡單實作
public ref class TextTemplatingSession sealed : System::Collections::Generic::Dictionary<System::String ^, System::Object ^>, IEquatable<Guid>, IEquatable<Microsoft::VisualStudio::TextTemplating::ITextTemplatingSession ^>, Microsoft::VisualStudio::TextTemplating::ITextTemplatingSession, System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Object ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Runtime::Serialization::ISerializable
[System.Serializable]
public sealed class TextTemplatingSession : System.Collections.Generic.Dictionary<string,object>, IEquatable<Guid>, IEquatable<Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession>, Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type TextTemplatingSession = class
inherit Dictionary<string, obj>
interface ITextTemplatingSession
interface IEquatable<ITextTemplatingSession>
interface IEquatable<Guid>
interface IDictionary<string, obj>
interface ICollection<KeyValuePair<string, obj>>
interface seq<KeyValuePair<string, obj>>
interface IEnumerable
interface ISerializable
Public NotInheritable Class TextTemplatingSession
Inherits Dictionary(Of String, Object)
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), IEquatable(Of Guid), IEquatable(Of ITextTemplatingSession), ISerializable, ITextTemplatingSession
- 繼承
-
TextTemplatingSession
- 屬性
- 實作
-
ITextTemplatingSession ICollection<KeyValuePair<String,Object>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,Object> IEnumerable<KeyValuePair<String,Object>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable IEquatable<ITextTemplatingSession> IEquatable<Guid> ISerializable
建構函式
TextTemplatingSession() |
建立唯一標識碼的基本建構函式。 |
TextTemplatingSession(Guid) |
允許使用特定標識碼的建構函式 |
屬性
Id |
會話的身分識別 |
方法
Equals(Guid) | |
Equals(ITextTemplatingSession) |
將此 TextTemplatingSession 與另一個比較 ITextTemplatingSession |
Equals(Object) |
將此 TextTemplatingSession 與另一個對象進行比較 |
GetHashCode() |
使用標識碼的哈希作為哈希碼。 |
明確介面實作
ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
已淘汰.
串行化物件 |
擴充方法
AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean) |
將一個字典內容新增至另一個字典 |
GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK) |
依指定的索引鍵取得值。 |
EmptyIfNull<T>(IEnumerable<T>) |
如果此列舉不是 Null,則傳回此列舉。 如果是 null,則傳回空列舉。 |