共用方式為


SourceText.CanBeEmbedded Property

Definition

Indicates whether this source text can be embedded in the PDB.

public:
 property bool CanBeEmbedded { bool get(); };
public bool CanBeEmbedded { get; }
member this.CanBeEmbedded : bool
Public ReadOnly Property CanBeEmbedded As Boolean

Property Value

Remarks

If this text was constructed via From(Byte[], Int32, Encoding, SourceHashAlgorithm, Boolean, Boolean) or From(Stream, Encoding, SourceHashAlgorithm, Boolean, Boolean), then the canBeEmbedded arg must have been true.

Otherwise, Encoding must be non-null.

Applies to