ReplacesAttribute Constructor
Initializes a new instance of the ReplacesAttribute.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Public Sub New ( _
replaces As String _
)
public ReplacesAttribute(
string replaces
)
public:
ReplacesAttribute(
String^ replaces
)
new :
replaces:string -> ReplacesAttribute
public function ReplacesAttribute(
replaces : String
)
Parameters
replaces
Type: StringThe name of the replaced asset.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | replaces is nulla null reference (Nothing in Visual Basic). |
ArgumentException | Replaces is an empty string. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.