Редактиране

Споделяне чрез


SwiftSelf<T>(T) Constructor

Definition

Creates a new instance of the SwiftSelf struct with the specified value.

public:
 SwiftSelf(T value);
public SwiftSelf (T value);
new System.Runtime.InteropServices.Swift.SwiftSelf<'T (requires 'T : struct)> : 'T -> System.Runtime.InteropServices.Swift.SwiftSelf<'T (requires 'T : struct)>
Public Sub New (value As T)

Parameters

value
T

The value representing the self context.

Applies to