共用方式為


TextTemplatingSession.ISerializable.GetObjectData 方法

命名空間:  Microsoft.VisualStudio.TextTemplating
組件:  Microsoft.VisualStudio.TextTemplating.11.0 (在 Microsoft.VisualStudio.TextTemplating.11.0.dll 中)

語法

'宣告
Private Sub GetObjectData ( _
    information As SerializationInfo, _
    context As StreamingContext _
) Implements ISerializable.GetObjectData
void ISerializable.GetObjectData(
    SerializationInfo information,
    StreamingContext context
)
private:
virtual void GetObjectData(
    SerializationInfo^ information, 
    StreamingContext context
) sealed = ISerializable::GetObjectData
private abstract GetObjectData : 
        information:SerializationInfo * 
        context:StreamingContext -> unit 
private override GetObjectData : 
        information:SerializationInfo * 
        context:StreamingContext -> unit 
JScript 不支援明確介面實作。

參數

實作

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

.NET Framework 安全性

請參閱

參考

TextTemplatingSession 類別

Microsoft.VisualStudio.TextTemplating 命名空間