Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / FpButton Class / GetObjectData Method
The System.Runtime.Serialization.SerializationInfo to populate with data.
The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.


In This Topic
    GetObjectData Method (FpButton)
    In This Topic
    Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object. Saving all FpButton's own properties and some public, browsable design time properies of the control base
    Syntax
    'Declaration
     
    
    Public Sub GetObjectData( _
       ByVal info As SerializationInfo, _
       ByVal context As StreamingContext _
    ) 
    'Usage
     
    
    Dim instance As FpButton
    Dim info As SerializationInfo
    Dim context As StreamingContext
     
    instance.GetObjectData(info, context)
    public 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.
    Exceptions
    ExceptionDescription
    The caller does not have the required permission.
    See Also