你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureSession.TryGetComponent<T>(String, T) Method

Definition

public bool TryGetComponent<T> (string componentName, out T component) where T : class;
abstract member TryGetComponent : string * 'T -> bool (requires 'T : null)
override this.TryGetComponent : string * 'T -> bool (requires 'T : null)
Public Function TryGetComponent(Of T As Class) (componentName As String, ByRef component As T) As Boolean

Type Parameters

T

Parameters

componentName
String
component
T

Returns

Implements

Applies to