Source.Field Property

Returns a String that represents the value of a field in a bibliography source. Read-only.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property Field ( _
    Name As String _
) As String
    Get
    Set
'Usage
Dim instance As Source
Dim Name As String
Dim value As String

value = instance.Field(Name)

instance.Field(Name) = value
string this[
    string Name
] { get; set; }

Parameters

  • Name
    Type: System.String
    Specifies the name of the field for which to retrieve the value.

Property Value

Type: System.String
String

Remarks

The name of the field corresponds to the name of the corresponding XML element in the resulting XML for a bibliography source. You can use the XML property to return the XML for a bibliography source. For more information, see Working with Bibliographies.

See Also

Reference

Source Interface

Source Members

Microsoft.Office.Interop.Word Namespace