Microsoft.ResourceManagement.ObjectModel.RmAttributeName.GetObjectData C# (CSharp) Méthode

GetObjectData() public méthode

Populates a T:System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
/// The caller does not have the required permission. ///
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo The to populate with data.
context System.Runtime.Serialization.StreamingContext The destination (see ) for this serialization.
Résultat void
        public void GetObjectData(
            SerializationInfo info,
            StreamingContext context)
        {
            info.AddValue("name", name);
            info.AddValue("culture", culture);
        }