ItemType.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
Public Function GetSchemaObjects ( _
    type As Type _
) As IEnumerable(Of Object)
public IEnumerable<Object> GetSchemaObjects(
    Type type
)
public:
virtual IEnumerable<Object^>^ GetSchemaObjects(
    Type^ type
) sealed
abstract GetSchemaObjects : 
        type:Type -> IEnumerable<Object> 
override GetSchemaObjects : 
        type:Type -> IEnumerable<Object> 
public final 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.

Implements

IProjectSchemaNode.GetSchemaObjects(Type)

.NET Framework Security

See Also

Reference

ItemType Class

Microsoft.Build.Framework.XamlTypes Namespace