Share via


IProjectSchemaNode.GetSchemaObjects Method

Returns an enumerator over all instances of static data that have the given type.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Framework.XamlTypes
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

Syntax

'Declaration
Function GetSchemaObjects ( _
    type As Type _
) As IEnumerable(Of Object)
IEnumerable<Object> GetSchemaObjects(
    Type type
)
IEnumerable<Object^>^ GetSchemaObjects(
    Type^ type
)
abstract GetSchemaObjects : 
        type:Type -> IEnumerable<Object> 
function GetSchemaObjects(
    type : Type
) : IEnumerable<Object>

Parameters

  • type
    Type: System.Type

    The type of static data to retrieve.

Return Value

Type: IEnumerable<Object>
Returns an enumerator over all instances of static data that have the given type. Returns Null or Empty list if no objects of the given type are provided by this node.

.NET Framework Security

See Also

Reference

IProjectSchemaNode Interface

Microsoft.Build.Framework.XamlTypes Namespace