共用方式為


GlobalObject.Instance Property

Definition

Gets an on-demand created instance of the global object.

public:
 property System::Object ^ Instance { System::Object ^ get(); };
public:
 property Platform::Object ^ Instance { Platform::Object ^ get(); };
public object Instance { get; }
member this.Instance : obj
Public ReadOnly Property Instance As Object

Property Value

An Object that represents an instance of the global object class.

Exceptions

The resulting instance is not serializable, which indicates an incorrect implementation.

Applies to