次の方法で共有


GenerateResource.References Property

Definition

Resolves types in ResX files (XML resources) for Strongly Typed Resources

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ References { cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ get(); void set(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ value); };
public Microsoft.Build.Framework.ITaskItem[] References { get; set; }
public Microsoft.Build.Framework.ITaskItem[] References { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.References : Microsoft.Build.Framework.ITaskItem[] with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.References : Microsoft.Build.Framework.ITaskItem[] with get, set
Public Property References As ITaskItem()

Property Value

The references to load types in .resx files from.

Attributes

Remarks

Resx file data elements may have a .NET type. When the .resx file is read, this must be resolved. Typically, it is resolved successfully by using standard type loading rules. If you provide assemblies in References, they take precedence.

This parameter is not required for strongly typed resources.

Applies to