MetadataReference.WithProperties(MetadataReferenceProperties) メソッド

定義

指定したプロパティを持つ参照のインスタンスを返します。プロパティが変更されていない場合は、このインスタンスを返します。

public:
 Microsoft::CodeAnalysis::MetadataReference ^ WithProperties(Microsoft::CodeAnalysis::MetadataReferenceProperties properties);
public Microsoft.CodeAnalysis.MetadataReference WithProperties (Microsoft.CodeAnalysis.MetadataReferenceProperties properties);
member this.WithProperties : Microsoft.CodeAnalysis.MetadataReferenceProperties -> Microsoft.CodeAnalysis.MetadataReference
Public Function WithProperties (properties As MetadataReferenceProperties) As MetadataReference

パラメーター

properties
MetadataReferenceProperties

参照の新しいプロパティ。

戻り値

例外

指定された値は、この参照に対して無効です。

適用対象