Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
<UserVisiblePropertyAttribute("{64600D7C-7361-4048-B6EF-5BF48D60D6F3}")> _
Public Property ErrorMessage As String
'使用
Dim instance As TestResult
Dim value As String
value = instance.ErrorMessage
instance.ErrorMessage = value
[UserVisiblePropertyAttribute("{64600D7C-7361-4048-B6EF-5BF48D60D6F3}")]
public string ErrorMessage { get; set; }
[UserVisiblePropertyAttribute(L"{64600D7C-7361-4048-B6EF-5BF48D60D6F3}")]
public:
property String^ ErrorMessage {
String^ get ();
void set (String^ value);
}
public function get ErrorMessage () : String
public function set ErrorMessage (value : String)
Property Value
Type: System.String
Permissions
- 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.