Share via


Resource.FindParentInScope(IConstruct) Method

Definition

Finds the parent resource in the scope.

protected virtual Azure.Provisioning.Resource? FindParentInScope (Azure.Provisioning.IConstruct scope);
abstract member FindParentInScope : Azure.Provisioning.IConstruct -> Azure.Provisioning.Resource
override this.FindParentInScope : Azure.Provisioning.IConstruct -> Azure.Provisioning.Resource
Protected Overridable Function FindParentInScope (scope As IConstruct) As Resource

Parameters

scope
IConstruct

The scope.

Returns

The parent Resource.

Applies to