Open sandboxFocus

Method GetDeclaringTypeIdentifier

GetDeclaringTypeIdentifier()

Gets the DeclarationIdentifier that represents the declaring type of the declaration represented by the current DeclarationIdentifier.

Declaration
public DeclarationIdentifier GetDeclaringTypeIdentifier()
Returns
Type Description
DeclarationIdentifier

The DeclarationIdentifier that represents the declaring type of the declaration represented by the current DeclarationIdentifier. If the current DeclarationIdentifier already represents a type, this method returns the current DeclarationIdentifier.