PostSharpAPI ReferencePost­Sharp.​ExtensibilityIProjectGet­Extension­Elements
Open sandboxFocus

IProject.GetExtensionElements Method

GetExtensionElements(String, String)

Gets the set of project extension elements (ProjectExtensionElement) given their name and XML namespace.

Declaration
IEnumerable<ProjectExtensionElement> GetExtensionElements(string name, string ns)
Parameters
Type Name Description
System.String name

Local name of the project extension element.

System.String ns

XML namespace of the project extension element.

Returns
Type Description
System.Collections.Generic.IEnumerable<ProjectExtensionElement>

The set of project elements named name in all loaded projects.