VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation Namespace / GroupAnnotationData Class / GetObjectData Method
The SerializationInfo to populate with data.
The destination for this serialization.



In This Topic
    GetObjectData Method (GroupAnnotationData)
    In This Topic
    Populates a SerializationInfo with the data needed to serialize the target object.
    Syntax
    'Declaration
     
    <SecurityPermissionAttribute(Flags=SecurityPermissionFlag.SerializationFormatter, 
       Assertion=False, 
       UnmanagedCode=False, 
       SkipVerification=False, 
       Execution=False, 
       ControlThread=False, 
       ControlEvidence=False, 
       ControlPolicy=False, 
       SerializationFormatter=True, 
       ControlDomainPolicy=False, 
       ControlPrincipal=False, 
       ControlAppDomain=False, 
       RemotingConfiguration=False, 
       Infrastructure=False, 
       BindingRedirects=False, 
       Action=SecurityAction.Demand Or  _
        SecurityAction.Deny Or  _
        SecurityAction.LinkDemand, 
       Unrestricted=False)>
    Public Overrides Sub GetObjectData( _
       ByVal info As SerializationInfo, _
       ByVal context As StreamingContext _
    ) 
    [SecurityPermission(Flags=SecurityPermissionFlag.SerializationFormatter, 
       Assertion=false, 
       UnmanagedCode=false, 
       SkipVerification=false, 
       Execution=false, 
       ControlThread=false, 
       ControlEvidence=false, 
       ControlPolicy=false, 
       SerializationFormatter=true, 
       ControlDomainPolicy=false, 
       ControlPrincipal=false, 
       ControlAppDomain=false, 
       RemotingConfiguration=false, 
       Infrastructure=false, 
       BindingRedirects=false, 
       Action=SecurityAction.Demand | 
        SecurityAction.Deny | 
        SecurityAction.LinkDemand, 
       Unrestricted=false)]
    public override void GetObjectData( 
       SerializationInfo info,
       StreamingContext context
    )
    [SecurityPermission(Flags=SecurityPermissionFlag.SerializationFormatter, 
       Assertion=false, 
       UnmanagedCode=false, 
       SkipVerification=false, 
       Execution=false, 
       ControlThread=false, 
       ControlEvidence=false, 
       ControlPolicy=false, 
       SerializationFormatter=true, 
       ControlDomainPolicy=false, 
       ControlPrincipal=false, 
       ControlAppDomain=false, 
       RemotingConfiguration=false, 
       Infrastructure=false, 
       BindingRedirects=false, 
       Action=SecurityAction.Demand | 
        SecurityAction.Deny | 
        SecurityAction.LinkDemand, 
       Unrestricted=false)]
    public: void GetObjectData( 
       SerializationInfo* info,
       StreamingContext context
    ) override 
    [SecurityPermission(Flags=SecurityPermissionFlag.SerializationFormatter, 
       Assertion=false, 
       UnmanagedCode=false, 
       SkipVerification=false, 
       Execution=false, 
       ControlThread=false, 
       ControlEvidence=false, 
       ControlPolicy=false, 
       SerializationFormatter=true, 
       ControlDomainPolicy=false, 
       ControlPrincipal=false, 
       ControlAppDomain=false, 
       RemotingConfiguration=false, 
       Infrastructure=false, 
       BindingRedirects=false, 
       Action=SecurityAction.Demand | 
        SecurityAction.Deny | 
        SecurityAction.LinkDemand, 
       Unrestricted=false)]
    public:
    void GetObjectData( 
       SerializationInfo^ info,
       StreamingContext context
    ) override 

    Parameters

    info
    The SerializationInfo to populate with data.
    context
    The destination for this serialization.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also