StreamUpgradeProvider.GetProperty<T> 方法

定义

在派生类中实现时,获取当前流的一个属性,该属性表示流升级的发起方。When implemented in a derived class, gets a property of the current stream that represents an initiator of a stream upgrade.

public:
generic <typename T>
 where T : class virtual T GetProperty();
public virtual T GetProperty<T> () where T : class;
abstract member GetProperty : unit -> 'T (requires 'T : null)
override this.GetProperty : unit -> 'T (requires 'T : null)
Public Overridable Function GetProperty(Of T As Class) () As T

类型参数

T

当前流的类型。The type of the current stream.

返回

T

流升级的发起方。An initiator of a stream upgrade.

适用于