Rule.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.TypeThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.