TextFormattingRunProperties.GetRealObject Method
Gets the cached TextFormattingRunProperties object, or creates one if none exists.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Dichiarazione
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.SerializationFormatter)> _
Public Function GetRealObject ( _
context As StreamingContext _
) As Object
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public Object GetRealObject(
StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::SerializationFormatter)]
public:
virtual Object^ GetRealObject(
StreamingContext context
) sealed
[<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)>]
abstract GetRealObject :
context:StreamingContext -> Object
[<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)>]
override GetRealObject :
context:StreamingContext -> Object
public final function GetRealObject(
context : StreamingContext
) : Object
Parameters
- context
Type: System.Runtime.Serialization.StreamingContext
The deserialization context.
Return Value
Type: System.Object
The cached TextFormattingRunProperties object, or creates one if none exists.
Implements
IObjectReference.GetRealObject(StreamingContext)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.