Visual Basic (Declaration) | |
---|---|
Public Overrides Sub GetObjectData( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ExcelSparkline Dim info As SerializationInfo Dim context As StreamingContext instance.GetObjectData(info, context) |
C# | |
---|---|
public override void GetObjectData( SerializationInfo info, StreamingContext context ) |
Parameters
- info
- The System.Runtime.Serialization.SerializationInfo to populate with data.
- context
- The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.
Exception | Description |
---|---|
System.Security.SecurityException | The caller does not have the required permission. |
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6