Open sandboxFocus

Constructor ImportMemberAttribute

ImportMemberAttribute(params string[])

Initializes a new ImportMemberAttribute and specifies several possible names for the member to import.

Declaration
public ImportMemberAttribute(params string[] memberNames)
Parameters
Type Name Description
string[] memberNames

Possible names of the member to import in the order of precedence.

ImportMemberAttribute(string)

Initializes a new ImportMemberAttribute and specifies a single name for the member to import.

Declaration
public ImportMemberAttribute(string memberName)
Parameters
Type Name Description
string memberName

The name of the member to import.