Bagikan melalui


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

'Declaration
<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

Return Value

Type: System.Object
The cached TextFormattingRunProperties object, or creates one if none exists.

Implements

IObjectReference.GetRealObject(StreamingContext)

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace